stable

Clone or download

Read-only

request #9765: Characters ', ", \ and NUL are backslashed in PHPWiki

This issue has been introduced by commit 9ff88e32e4eb139b1669beb58c483ade2d4140ef. This contribution also disable magic quotes on new Tuleap installation. This "feature" is something from the past and it should definitively stay in the past. Also, this option does not exist since PHP 5.4.0, we should drop it as soon as possible. FYI, it is disabled since several weeks on my development instance and I was not able to detect particular issues. This contribution feels appropriate to disable magic quotes on new installations since the issue we fix here does not exist if you have disabled the magic quotes. I have only fix the PHPWiki code to not force existing instances to edit their /etc/httpd/conf.d/php.ini file. Change-Id: I8428e4643efea3a97908f00997386489d8966b48

Modified Files

Name
M src/common/wiki/phpwiki/lib/Request.php +5 −5 Go to diff View file
M src/etc/php.conf.dist +1 −1 Go to diff View file