Re: bad encoding for f:param value in pretty-config

Splash Forums PrettyFaces Users bad encoding for f:param value in pretty-config Re: bad encoding for f:param value in pretty-config

#20542

Hey xuzhike,

I can confirm that there are still problems with path parameter encoding. Just like you saw them in your conclusion.

Here is my sample app which I used to reproduce this.

https://github.com/chkal/prettyfaces-tests/archives/encoding

I’ll take a look at the remaining issue at the weekend if I find some time.

Please note that the % values in the URL are not a bug. They are just hex-encoded values of the characters from the URL. The question is if the hex characters are generated by using the correct encoding. If a browser bar shows the Unicode characters or the hex encoded characters is up to the browser. In fact the browser will ALWAYS hex-encode foreign characters when sending the request to the server, even if you manually enter them in the browser bar.

Regarding your other question. Could you open a separate topic for this so we keep this thread on the encoding issues?