URL-Parameter Encoding-/Decoding

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

URL-Parameter Encoding-/Decoding

Postby rph » Wed Sep 19, 2018 1:25 pm

Hi

I have an NG-Client-Application and deep-link like this:

Code: Select all
http://localhost:8080/solutions/omng_srauskunft/index.html?a=&ort=Cham


This works as excpected and I could grap the "ort"-Parameter in the "onOpen"-Methode of the Solution.

But, if I try the same with "ort"-Value "Hünenberg", my call looks like this:

Code: Select all
http://localhost:8080/solutions/omng_srauskunft/index.html?a=&ort=H%C3%BCnenberg


After I call this URL, my Browser changes the URL to:

Code: Select all
http://localhost:8080/solutions/omng_srauskunft/index.html?a=&ort=Hünenberg#srauskunft


and in the onOpen I get "Hünenberg". I couldn't figure out how to unescape that. Tried with the JavaScript "unescape" but with no success.

I guess that there is an Issue with redirecting and handling the URL-Escaping.

Could you please confirm or give Assistance.

Thanks in Advance.

Cheers,
Roland
rph
 
Posts: 75
Joined: Wed Aug 10, 2011 11:44 am
Location: Cham, Switzerland

Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 5 guests