Closed wvanderp closed 7 years ago
Apostrophes are not escaped when downloading a osm file. so, when I try to open this file in josm it complains about an invalid xml file. an example file is included
https://gist.github.com/wvanderp/d4efadb577639d058e60d68b1041fa0e
Fixed in #34.
there is still an error when uses contain a '.
like the data here: map=17/51.942767/4.449109
i think is can be fixed by adding a htmlspecialchars($obj[$k], ENT_QUOTES) here
Thanks, I did that.
Apostrophes are not escaped when downloading a osm file. so, when I try to open this file in josm it complains about an invalid xml file. an example file is included
https://gist.github.com/wvanderp/d4efadb577639d058e60d68b1041fa0e