Click to See Complete Forum and Search --> : Encoded URL


oddim
January 21st, 2011, 06:02 PM
My server gave me the error 406, because they had a mod_security on the Apache server. It was because I tried sending this string

http://www.oddim.com/functions.php?CALL=NEWS_FEED&TYPE=1&STATUS=rawrtest%rawrtest

which I of course encoded to (using encodeURIcomponent)

http://www.oddim.com/functions.php?CALL=NEWS_FEED&TYPE=1&STATUS=rawrtest%25rawrtest

I got the mod_security disabled but I wanted to know If I'm programming in a non-secure way that it triggered that mod.

PeejAvery
January 22nd, 2011, 05:54 AM
Check out penders reply here (http://www.webmasterworld.com/php/3630782.htm).