]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
fix: use more permissive URL pattern for Abide #9180
authorNicolas Coden <nicolas@ncoden.fr>
Sun, 1 Apr 2018 18:20:04 +0000 (20:20 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sun, 1 Apr 2018 18:20:04 +0000 (20:20 +0200)
commit724545c8348cba56376cd063063385b814dfa10d
tree6fc3d32eb027147083fd67b9c50ddd3b262afbd8
parent78bda6170adddb29634e97641ade6894b8fe4ed8
fix: use more permissive URL pattern for Abide #9180

Note: the new RegExp is close to an "Standard URL validation" and allow a lot of valid URLs that may have to be forbidden on the end website (intrants, local domains, utf8 & unicode characters...).
For more restrictive RegExps, see https://mathiasbynens.be/demo/url-regex.

Closes https://github.com/zurb/foundation-sites/issues/9180
From https://github.com/talyssonoc/CommonRegexJS/blob/e2901b9f57222bc14069dc8f0598d5f412555411/lib/commonregex.js#L76
docs/pages/abide.md
js/foundation.abide.js