forked from science-ation/science-ation
Apache/PHP seems to let us turn off magic quotes in the .htaccess. Yay.
magic quotes DEPRECATED as of PHP 5.3.0, REMOVE as of 6.0, on by default for any PHP < 5.3.0. Pain in the ASS. php is running the urldecode for us, seeing that the string has quotes, then adding quotes before we can json_decode(). It only does this in POST and GET
This commit is contained in:
parent
a5a431605a
commit
5e9ee05606
@ -1,4 +1,5 @@
|
|||||||
php_flag register_globals off
|
php_flag register_globals off
|
||||||
|
php_flag magic_quotes_gpc off
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
RewriteCond %{SCRIPT_FILENAME} !-f
|
RewriteCond %{SCRIPT_FILENAME} !-f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user