Open wvdongen opened 5 years ago
I'm using a text that contains a the following url: https://www.owasp.org/index.php/Cross-site_Scripting_(XSS). However, the wrong link is created because ")" is not matched in the regex. See screenshot:
Thanks for reporting, I'll fix this for the upcoming release :)
@aidantwoods This might help: https://github.com/symfony/symfony/blob/5.0/src/Symfony/Component/Validator/Constraints/UrlValidator.php#L24
I'm using a text that contains a the following url: https://www.owasp.org/index.php/Cross-site_Scripting_(XSS). However, the wrong link is created because ")" is not matched in the regex. See screenshot: