Skip to content

Conversation

@reithor
Copy link

@reithor reithor commented Jan 13, 2026

🎫 Issue IBX-10978

Related PRs:

Description:

PR disables Symfony's FixUrlProtocolListener and introduces a custom FixUrlProtocolListener.
Symfony's FixUrlProtocolListener considers URLs like tel:123456 (without //) as having no protocol.
Those URLs will wrongly be prefixed with http://.
(Technically URLs like tel:123456 are valid).

Own implementation fixes this behavior.
For now only tel and mailto are 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:

@reithor reithor marked this pull request as ready for review January 13, 2026 19:31
@reithor reithor requested a review from a team January 13, 2026 19:31
@reithor reithor force-pushed the ibx-10978-add-tel-mailto-to-urltype branch from a7b72e4 to 12c8017 Compare January 14, 2026 08:49
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants