Welcome Guest, Not a member yet? Register   Sign In
Special characters in the URI?
#1

[eluser]ryeguy[/eluser]
Is there a way to encode special characters in the URI without enabling them all in the config? I tried using urlencode(), but the percent signs mess everything up and for some reason the server spits out:
Code:
Bad Request
Your browser sent a request that this server could not understand.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I guess a solution would be to step through the string before it is put in the uri and encode the special characters myself. I could look at each char, see if it is a special character, and if it is, replace it with _asc(character)_. That would be ugly, increase the length of my uri, and it makes me feel dirty. Please don't make me do this. Smile


Messages In This Thread
Special characters in the URI? - by El Forum - 12-02-2008, 08:11 PM
Special characters in the URI? - by El Forum - 12-02-2008, 11:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB