php5 5.3.2-1ubuntu4.13 introduced regression in magic_quotes_gpc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Steve Beattie |
Bug Description
Since last lucid security update, upgrading from 5.3.2-1ubuntu4.11 to php5 5.3.2-1ubuntu4.13 introduced a regression in ini_get(
Even if magic_quotes are deprecated, this break codes relaying on detection of this ini.
We can see clearly this problem :
grep ^magic_quotes_gpc /etc/php5/
magic_quotes_gpc = On
php -v
PHP 5.3.2-1ubuntu4.13 with Suhosin-Patch (cli) (built: Feb 9 2012 06:36:10)
php -r 'var_dump(
string(1) "0"
php -v
PHP 5.3.2-1ubuntu4.11 with Suhosin-Patch (cli) (built: Dec 13 2011 18:49:27)
php -r 'var_dump(
string(1) "1"
Maverick's php5 packages have the same behaviour :
php -v
PHP 5.3.3-1ubuntu9.9 with Suhosin-Patch (cli) (built: Feb 9 2012 06:37:37)
php -r 'var_dump(
string(1) "0"
Thanks for your help
Status changed to 'Confirmed' because the bug affects multiple users.