Welcome Guest, Not a member yet? Register   Sign In
Redirect not working with string as parameter
#4

[eluser]Unknown[/eluser]
No luck. I've changed it to

Code:
redirect("/awesome/test_pass_string/".$param);

and still 404.

However, I've tried shortening the 404 url from

Code:
http://localhost/awesome_site/index.php/awesome/test_pass_string/GgkyUW3k0FfQUEYLumqVsQs/vQ2gtoigdsvRpOqFO+oUwIqBCsudaFBJew+FWSIBI6XnPP6sfwxo3rlb6p8TTQ==
***Param value is actually urlencoded but this forum displayed it as normal. No idea how to post urlencoded string here

to

Code:
http://localhost/home_finance/index.php/site/test_pass_string/GgkyUW3k0FfQUEYLumqVsQs

and it works. Does this mean I can't use (%) character in redirect? Or is there another way?


I'm trying encrypt the value I'm sending since calling something

Code:
awesome/delete_something/2

(2 being the id to delete) will be more prone to abuse than

Code:
awesome/delete_something/GgkyUW3k0FfQUEYLumqVsQs

Thanks.


Messages In This Thread
Redirect not working with string as parameter - by El Forum - 07-18-2011, 02:18 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 03:45 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 03:48 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 05:31 AM
Redirect not working with string as parameter - by El Forum - 07-18-2011, 05:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB