-
Notifications
You must be signed in to change notification settings - Fork 2
IBX-10978: Added tel/mailto options to urlType #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.6
Are you sure you want to change the base?
Conversation
a7b72e4 to
12c8017
Compare
|
|
@alongosz : https://www.rfc-editor.org/rfc/rfc1738 https://url.spec.whatwg.org/#urls |



Related PRs:
Description:
PR disables Symfony's
FixUrlProtocolListenerand introduces a customFixUrlProtocolListener.Symfony's
FixUrlProtocolListenerconsiders URLs liketel:123456(without//) as having no protocol.Those URLs will wrongly be prefixed with
http://.(Technically URLs like
tel:123456are valid).Own implementation fixes this behavior.
For now only
telandmailtoare added as allowed scheme - further improvement could make this part more flexible via config,Reference for URL syntax:
https://en.wikipedia.org/wiki/URL#Syntax
For QA:
Documentation: