[openstreetmap/openstreetmap-website] Accept coordinates with a slash in search (PR #4938)

David Tsiklauri notifications at github.com
Tue Jul 2 10:38:48 UTC 2024


This PR addresses "Accept coordinates with a slash in search" issue mentioned in the [#4285](https://github.com/openstreetmap/openstreetmap-website/issues/4285)
 
Added '/' (slash) as an option in the validation and split regex of the search input. Fixes [#4285](https://github.com/openstreetmap/openstreetmap-website/issues/4285)

![Screenshot 2024-07-02 142603](https://github.com/openstreetmap/openstreetmap-website/assets/55288419/e85cc2cf-85ff-43e5-b07a-6d5d5f5d77ad)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4938

-- Commit Summary --

  * Accept coordinates with a slash in search

-- File Changes --

    M app/controllers/geocoder_controller.rb (2)
    M test/controllers/geocoder_controller_test.rb (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4938.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4938.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4938
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4938 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240702/feb17bdc/attachment.htm>


More information about the rails-dev mailing list