Last modified: 2014-03-28 10:16:30 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 T44620, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42620 - Improper handling of UTF-8 in MapEditor code
Improper handling of UTF-8 in MapEditor code
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Maps (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Jeroen De Dauw
: utf8
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-02 11:02 UTC by Nischay Nahata
Modified: 2014-03-28 10:16 UTC (History)
1 user (show)

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


Attachments

Description Nischay Nahata 2012-12-02 11:02:09 UTC
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
Comment 1 Jeroen De Dauw 2014-03-28 10:16:30 UTC
https://github.com/JeroenDeDauw/Maps/issues/18

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


Navigation
Links