Page MenuHomePhabricator

Special:Log for [[a&b]] has broken links
Closed, ResolvedPublic

Description

Author: dbenbenn

Description:
Request the Special:Log page for an article with & in the title. The links at
the bottom (previous 50, next 50, 20, 50, 100, etc) are broken. For example, at

http://test.leuksman.com/index.php?title=Special%3ALog&page=a%26b

the "20" link is

http://test.leuksman.com/index.php?title=Special:Log&type=&user=&page=A&b&limit=20&offset=0

The title, a&b, should be converted to a%26b in the URL, but has instead become
A&b.


Version: 1.5.x
Severity: minor
URL: http://test.leuksman.com/index.php?title=Special%3ALog&page=a%26b

Details

Reference
bz2459

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:32 PM
bzimport set Reference to bz2459.
bzimport added a subscriber: Unknown Object (MLST).

Used htmlspecialchars() where urlencode() should have been used. Fixed now in REL1_4 and
HEAD.