Page MenuHomePhabricator

fix_magic_quotes not applied to $_GET in Wiki.php
Closed, ResolvedPublic

Description

When magic_quotes_gpc is 1 (the default), pages with \, " and so on in their name cause an erroneous error:
Internal error

Redirect loop detected!

This is because Wiki.php gets the page title from $_GET, which is not normalised.


Version: 1.13.x
Severity: normal
URL: http://translatewiki.net/wiki/Foo%5Cbar

Details

Reference
bz15511

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:23 PM
bzimport set Reference to bz15511.
bzimport added a subscriber: Unknown Object (MLST).

Reverted r40530 and r40531 in r40608. Too many things use $_GET and $_POST directly at the moment.

Marking as FIXED, as the cause of this bug is not there now.