Page 1 of 1

URL-Parameter Encoding-/Decoding

PostPosted: Wed Sep 19, 2018 1:25 pm
by rph
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