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

       Web browser: ---
             Bug #: 42620
           Summary: Improper handling of UTF-8 in MapEditor code
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Maps
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


sprintf() used in the code for Special:MapEditor (now moved to
Maps/includes/editor/EditorHtml.php) doesn't handle UTF-8 properly.

Seems to me that this problem causes "Uncaught SyntaxError: Unexpected token
ILLEGAL" to appear in the console when using the googlemapsEditor forminput in
http://openurbandev.com/index.php?title=Special:FormEdit/Address/Home
and hence on saving the page weird things happen like redirection to Homepage

Also the coding styles are not followed here.

see http://www.php.net/manual/en/function.sprintf.php#86304

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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