Re: Problems with slash (/) and plus (+) in URL

Splash Forums PrettyFaces Users Problems with slash (/) and plus (+) in URL Re: Problems with slash (/) and plus (+) in URL

#20675

Ralf Haller
Participant

I know about this possibility, but it does not solve my problems. The slashes within the path segments are decoded already, so that I can’t distinguish between slashes for splitting the path into segments and slashes contained in the path segment’s name.

The url is always decoded prior to setting the attributes in my bean. It would be nice to disable the decoding in the path mapping.

When using pretty:link the plus signs however are not encoded, i.e. path1=”a”, path2=”b + / c” is rendered as “a/b+++%2F+c”