https://bugzilla.wikimedia.org/show_bug.cgi?id=46626

       Web browser: ---
            Bug ID: 46626
           Summary: XML formatter: xmldoublequote parameter broken
           Product: MediaWiki
           Version: 1.21-git
          Hardware: All
               URL: https://www.mediawiki.org/w/api.php?action=query&title
                    s=%26%3C%3E&xmldoublequote
                OS: All
            Status: NEW
          Keywords: code-update-regression
          Severity: minor
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

The xmldoublequote parameter (described in bug 11401) is supposed to
double-escape everything in the XML output. However, in MediaWiki 1.16 and
newer, specifying it seems to have no effect.

This is easily reproduced using the provided URL. The expected output is that
of MediaWiki 1.15 and older.

Actual: <page title="&amp;&lt;&gt;" invalid="" />
Expected: <page title="&amp;amp;&amp;lt;&amp;gt;" invalid="" />

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to