[openstreetmap/openstreetmap-website] Modified hdyc regex to accept spaces and percent-encoded spaces (PR #6468)

Yatharths11 notifications at github.com
Thu Oct 23 17:35:20 UTC 2025


<!--
Please read the contributing guidelines before making a PR:
  https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md

Pay particular attention to the section on how to present PRs:
  https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md#pull-requests
-->

### Description
<!--Describe your changes in detail. If you have made changes to the UI, include screenshots. If your PR addresses a Github issue, please link to it.-->

### How has this been tested?
<!--Explain the steps you took to test your code.-->

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

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

-- Commit Summary --

  * Modified hdyc regex to accept spaces and percent-encoded spaces

-- File Changes --

    M app/models/social_link.rb (2)
    M test/models/social_link_test.rb (16)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list