Page MenuHomePhabricator

Special:ListFiles doesn't escape filenames
Closed, ResolvedPublic

Description

patch for includes/specials/SpecialListfiles.php

If the wiki includes an uploaded file whose name includes, say, '&', the output of Special:ListFiles fails to parse when output as XHTML. This is because it outputs the filename without passing through htmlspecialchars.


Version: 1.16.x
Severity: normal

Attached:

Details

Reference
bz23024

Event Timeline

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

Added keywords patch, needs-review