[openstreetmap/openstreetmap-website] API: note search shouldn't be sensitive to accents (#2585)

tuxayo notifications at github.com
Fri Apr 10 14:23:11 UTC 2020


When I search for "caméra" or "camera" I get different results.

https://api.openstreetmap.org/api/0.6/notes/search?q=cam%C3%A9ra

https://api.openstreetmap.org/api/0.6/notes/search?q=camera

Related source code: https://github.com/openstreetmap/openstreetmap-website/blob/8199002a0fd83a6eec91764bcec9e9e8705c7e5d/app/controllers/api/notes_controller.rb#L277

Downsteam issue: https://github.com/ENT8R/NotesReview/issues/46

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2585
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200410/b47fd02c/attachment.htm>


More information about the rails-dev mailing list