While working in some issues I realized the need to improve UrlHelper::isValid()(
in the file ./core/lib/Drupal/Component/Utility/UrlHelper.php
The issues I've found:
UrlHelper::getAllowedProtocols()
UrlValidator
which has a similar regexCurrently the Symfony UrlValidator
also has some issues:
UrlHelper::isValid()
UrlHelper::isValid()(
maybe would be a better solution:
#1783278: Scheme-relative URL rejected by validation β
UrlHelper::getAllowedProtocols()
UrlValidator
: http://symfony.com/doc/current/reference/constraints/Url.htmlNeeds work
11.0 π₯
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.