Confused by url escaping

Hi all,

I have the need for a url that looks like this:


I have managed to get the link to be built correctly, but when clicked, thel portion of the url after ‘#’ is escaped, e.g., the ‘/’ characters are replaced by ‘%2f’ and that breaks the page loading–I just get an error that the url after the ‘#’ can’t be found.

Of course, if I edit the url in the browser and replace the escaped characters with their normal representation, it works.

Can any help me understand why this is happening? I’ve tried to use htmlUnescape, but no luck.


Perhaps this will help:

I had tried that with no luck. I dug abit deeper and found an error in some javascript that was using parsing the querystring. That was the cause of the problem.
Thanks for the help.

1 Like