Skip to content Skip to sidebar Skip to footer

How To Prevent Google Chrome And Ie Substituting '|' In Url With %7c

We have adapted an old website to use semantic URLs and - for a number of reasons - are unable to use a / as a seperator. Instead, we are using | as our seperator. For example: www

Solution 1:

You mentioned in your comment "We'll find another separator".

You might want to take a look at this earlier answer which describes exactly what characters are allowed in what part of the URL.

From this, you can see that the characters you are free to use "at will" are

unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"

It seems to me that of all these characters, the ~ is the only one that could reasonably take the place of your |.

Post a Comment for "How To Prevent Google Chrome And Ie Substituting '|' In Url With %7c"