Last modified: 2008-10-25 13:04:53 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 T18101, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16101 - API request returns invalid XML
API request returns invalid XML
Status: RESOLVED DUPLICATE of bug 15261
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks: 16106
  Show dependency treegraph
 
Reported: 2008-10-25 00:10 UTC by carnildo
Modified: 2008-10-25 13:04 UTC (History)
4 users (show)

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


Attachments
The malformed XML document (471 bytes, text/plain)
2008-10-25 00:10 UTC, carnildo
Details

Description carnildo 2008-10-25 00:10:09 UTC
Created attachment 5464 [details]
The malformed XML document

Visit the URL http://en.wikipedia.org/w/api.php?action=query&format=xml&iiprop=comment&prop=imageinfo&titles=Image:Shakerredraider.jpg

Expected result: A well-formed XML document

Actual result: The attached document.  The character at byte offset 199 is not permitted in XML.
Comment 1 X! 2008-10-25 00:59:42 UTC
The error was because the user upploaded with a horrible summary. 
Comment 2 Bryan Tong Minh 2008-10-25 09:08:21 UTC
All UTF should be sanitized perhaps before outputting it.
Comment 3 Roan Kattouw 2008-10-25 13:04:53 UTC

*** This bug has been marked as a duplicate of bug 15261 ***

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


Navigation
Links