[openstreetmap/openstreetmap-website] Fix shared links (#1444)
Christian Stadelmann
notifications at github.com
Sat Feb 18 15:39:45 UTC 2017
According to documentation, location.protocol includes the trailing colon (`:`), adding another colon will render the URL broken.
Fixes a regression introduced by 77fee91785af7630f608c41041cf4eeed6eeb369 and b170c06d5cd77d15d36105e6530ec99eb7e390e9 when @tomhughes fixed #870.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1444
-- Commit Summary --
* Fix shared links
-- File Changes --
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1444.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1444.diff
--
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/pull/1444
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170218/cdf68a3e/attachment.html>
More information about the rails-dev
mailing list