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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13302, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
1.11.x
All All
: Normal normal (vote)
: ---
Assigned To: Brion Vibber
http://en.wikipedia.org/w/api.php
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links