[eluser]tarsusc81[/eluser]
To state the question I'm trying to solve: How can I safely encode/escape non-allowed characters in a URL so they can be passed to a controller?
Typically, to use a non-URI character in a URI, you would use its "percent-encoded" Unicode value, like %26 for ampersand. I was confused when this didn't work for me, because percent-sign is one of the characters explicitly defined as being allowed. After some experimentation, however, I discovered that the Unicode value must actually be interpreted and then compared to the allowed characters, as the aforementioned %26 is rejected as a "disallowed character," while the code for a colon is not.
There must be
some way of escaping non-allowed characters in the URL. It's very limiting if there's not.