saintbyte / openbmap

Automatically exported from code.google.com/p/openbmap
Other
1 stars 1 forks source link

Sanitize xml files #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. One thing I noticed is that all the "krank" files I looked at somewhere had 
picked up a WiFi with an ampersand sign in the SSID, which appears as a literal 
ampersand, not escaped, in the XML files.

What is the expected output? What do you see instead?
SSID has to be sanitized before upload. 

Please use labels and text to provide additional information.

Original issue reported on code.google.com by wish7code on 29 Aug 2013 at 7:29

GoogleCodeExporter commented 9 years ago
Well, actually a quick fix: replace <, >, ", ', & in SSID by their escaped html 
counterpart, e.g. "

If you stumble across other occurrences beside SSID, please report..

Original comment by wish7code on 29 Aug 2013 at 8:14