Welcome Guest, Not a member yet? Register   Sign In
Encoded URL issues

I'm trying to pass a URL like below, but it seems to be erroring out on the % symbols.

http://domain.com/index.php/request/index/12312/http%3 A%2 F%2 Fwww.google.com

Any ideas why this doesn't work? And, what would it take to get it to work?

EDIT: I had to add space because the forums was converting the ascii characters. My URL does not have the spaces in it.

[eluser]Colin Williams[/eluser]
Explain "doesn't work" please

It is spitting out a 404 error. When I take the '%' symbols out of the URL, the page renders fine.

Not Found

The requested URL /index.php/request/index/12312/http://www.google.com was not found on this server.

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

Anyone have any ideas?

Yeah, I had this too.
In your config you need to set the URL protocol to PATH_INFO, instead of the default AUTO.
If that doesn't work, play a bit around with the other options, until it works.

(that's a bit depended on your server config, but PATH_INFO worked great for me)

Theme © iAndrew 2016 - Forum software by © MyBB