Last modified: 2009-01-14 21:23:57 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 T18262, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16262 - File metadata containing invalid characters produce bad-formed XML
File metadata containing invalid characters produce bad-formed XML
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.14.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
http://commons.wikimedia.org/w/api.ph...
:
Depends on:
Blocks: 16106
  Show dependency treegraph
 
Reported: 2008-11-06 14:51 UTC by Platonides
Modified: 2009-01-14 21:23 UTC (History)
3 users (show)

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


Attachments

Description Platonides 2008-11-06 14:51:48 UTC
See url. The file contains a bare 0x0F character  on the title field which is passed untranslated through the API to the user as XML. It would be bad if this were an invalid unicode char, but being < 32, per http://www.w3.org/TR/REC-xml/#charsets its presence makes the full api result not well-formed, choking XML parsers on it.

Related to bug 15261, bug 16105.
Comment 1 Roan Kattouw 2009-01-14 21:23:57 UTC
Should be fixed in r45749: 0x0F is invalid UTF-8 and converted to the UTF-8 replacement character (U+FFFD).

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


Navigation
Links