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

       Web browser: ---
             Bug #: 33482
           Summary: Api incorrectly calls ApiBase::parseMultiValue if
                    allowed values is given as an array.
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified


Even though allowed values is given an array, that does not mean that we should
parse the input as multivalue. This prevents allowing string values with | in
them. This forces to check the param value manually elsewhere in the code.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to