https://bugzilla.wikimedia.org/show_bug.cgi?id=65403
Bug ID: 65403
Summary: API generates invalid HTML for format=jsonfm
Product: MediaWiki
Version: 1.24-git
Hardware: All
URL: https://en.wikipedia.org/w/api.php?action=query&titles
=%3C&format=jsonfm
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
To reproduce, go to
<https://en.wikipedia.org/w/api.php?action=query&titles=%3C&format=jsonfm>.
Everything after the < is colored blue, and the HTML is obviously invalid:
[...]
<pre style='white-space: pre-wrap;'>
{
"query": {
"pages": {
"-1": {
"title": "<span style="color:blue;"><",
"invalid": ""
}
}
}
}
</pre>
[...]
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l