Add ’ (Apostrophe) character to link_validate_url

Created on 20 January 2013, over 11 years ago
Updated 31 August 2024, 27 days ago

I had a valid internal URL that was being marked as invalid.

The internal path is: the-experience/blog/roger-federer-is-moet-chandon’s-new-brand-ambassador.

After adding ’ (apostrophe) character to $LINK_ICHARS_DOMAIN, the problem went away.

I know the $LINK_ICHARS_DOMAIN isn't the right place to place this character, but I'm not too experienced with regex expressions. Could you add this character to the validation function?

Thanks a lot.

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇺🇸United States doliveros

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin

    Link module is in Drupal core now. I'll close this issue due to inactivity for 12 years and upcoming EOL of Drupal 7 in January 2025 . While the project version for Drupal 7 will keep providing support for security issues and website breaking bug fixes for Drupal 7, we should try to minimize the open issues for Drupal 7 in the queue as much as possible. Thanks for the report and all the efforts in here. Feel free to re-open if you can provide a fix or found an additional related problem which increases the issue priority to "Critical" here.

Production build 0.71.5 2024