Page MenuHomePhabricator

RecentChanges feed generation is broken for invalid types
Closed, ResolvedPublic

Description

Author: bugs

Description:
If the "feed" parameter is anything other than "rss" or "atom", MediaWiki crashes because it tries to create an instance of an invalid class (includes/ChangesFeed.php, line 16). See URL for a live example right now in the live Wikipedia.

It should instead detect that the feed format is not valid and give an HTTP 500 error.


Version: 1.14.x
Severity: major
URL: http://en.wikipedia.org/w/index.php?title=Special:RecentChanges&feed=x

Details

Reference
bz15596

Event Timeline

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