[openstreetmap/openstreetmap-website] Add PWA geo protocol handler (PR #5736)
Anton Khorev
notifications at github.com
Tue Mar 4 17:11:17 UTC 2025
@AntonKhorev commented on this pull request.
> @@ -80,6 +80,11 @@ OSM = {
const hash = OSM.parseHash(location.hash);
+ const geoURI = Object.fromEntries(new URLSearchParams(
+ params.geouri?.replaceAll(/[?;]/g, "&")?.replace(":", "=")
like `:`, `&` is possible inside geouri parameters https://datatracker.ietf.org/doc/html/rfc5870#section-3.3
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5736#discussion_r1979882902
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5736/review/2658367911 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250304/bbb475bc/attachment.htm>
More information about the rails-dev
mailing list