Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double encoding for ampersand #10

Open
simon04 opened this issue Apr 18, 2015 · 0 comments
Open

Double encoding for ampersand #10

simon04 opened this issue Apr 18, 2015 · 0 comments

Comments

@simon04
Copy link
Contributor

simon04 commented Apr 18, 2015

On the page https://toolserver.org/~kolossos/openlayers/kml-on-ol.php?lang=de&uselang=de&params=52.373235_N_9.736904_E_region:DE-NI_type:landmark&title=Sternheim_%26_Emanuel, the link "Sternheim & Emanuel" to the Wikipedia page does not work. It seems that & is encoded twice.

This might be due to the following two statements in http://toolserver.org/~kolossos/geoworld/marks-source.php:

$row[title]=str_replace("?","ß",$row[title]);
$row[title]=str_replace("&","&",$row[title]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant