Welcome Guest, Not a member yet? Register   Sign In
URL as parameter not working?
#1

[eluser]Reynolds[/eluser]
hi,

I'm trying to pass an encoded URL to a Guest controller:

NOTE: I've added spaces in between here, because its getting decoded when anyone views this post.
Code:
http://mydomain.com/guest/original_url:http % 3A % 2F % 2F google.com % 2F

this is what i get.
Quote:Not Found

The requested URL /guest/original_url:http://google.com/ was not found on this server.

but if i removed the encoded slashes:

http://mydomain.com/guest/original_url:google.com

then it works right.

why? and how do I fix this?

Thanks
#2

[eluser]Phil Sturgeon[/eluser]
Try $config['uri_protocol'] = 'REQUEST_URI';




Theme © iAndrew 2016 - Forum software by © MyBB