Last modified: 2007-09-13 19:11:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11302 - API fm modules don't escape < and >
API fm modules don't escape < and >
Status: RESOLVED DUPLICATE of bug 11296
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Brion Vibber
Depends on:
  Show dependency treegraph
Reported: 2007-09-11 23:36 UTC by CBM
Modified: 2007-09-13 19:11 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description CBM 2007-09-11 23:36:43 UTC
The links in the auto-generated API documentation no longer work - they have html entity names instead of ampersands.  The same bug affects the automatic documentation for query.php.

I think that the "txt" output format of query.php also changed, so that now instead of => the greater than sign is replaced with the HTML escape. I realize that query.php is deprecated, however.
Comment 1 Roan Kattouw 2007-09-12 14:30:28 UTC
API has this too, I noticed. I think this Brion's fix to bug 11158 in r25742 caused this, so I'm assigning this to him.
Comment 2 Roan Kattouw 2007-09-12 14:59:53 UTC
AmiDaniel did something about this in r25802: the links work now, but the < and > aren't escaped anymore, rendering all XML tags invisible.
Comment 3 Brion Vibber 2007-09-13 15:27:20 UTC

*** This bug has been marked as a duplicate of bug 11296 ***
Comment 4 Brion Vibber 2007-09-13 19:11:10 UTC
r25802 is a huge security hole which made the problem even worse. I've reverted it.

Note You need to log in before you can comment on or make changes to this bug.