Opened 9 years ago

Closed 9 years ago

#2891 closed defect (fixed)

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

Reported by: amm Owned by: Tom Hughes
Priority: minor Milestone:
Component: website Version:
Keywords: Cc:

Description

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?

Change History (2)

comment:1 Changed 9 years ago by amm

Component: adminwebsite
Priority: majorminor

Set the wrong priority level and component.

comment:2 Changed 9 years ago by tomhughes

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.