Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Nominatim search fails if the user language setting has a space in it #2891

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: amm
[Submitted to the original trac issue database at 1.48pm, Saturday, 17th April 2010]

If you have a space in the language settings of your user profile, nominatim search breaks on the main page.

It returns an error:
"Error contacting nominatim.openstreetmap.org: bad URI(is not URI?): http://nominatim.openstreetmap.org/search?format=xml&q=something&viewbox=83.10401648283,54.848867345251,83.109799325465,54.847057452968&accept-language=en, de"

Is this a problem with url escaping the language= parameter?

@openstreetmap-trac
Copy link
Author

Author: amm
[Added to the original trac issue at 9.36am, Sunday, 18th April 2010]

Set the wrong priority level and component.

@openstreetmap-trac
Copy link
Author

Author: tomhughes
[Added to the original trac issue at 11.44am, Sunday, 18th April 2010]

(In [20921]) Ignore whitespace around the commas when splitting a user's list of
preferred languages. Closes #2891.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant