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:
dave 2010-04-18 22:40:05 +00:00
parent a5a431605a
commit 5e9ee05606

View File

@ -1,4 +1,5 @@
php_flag register_globals off
php_flag magic_quotes_gpc off
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f