Actions
Bug #101721
closedTelephoneLinkHandler should allow commas and other pause characters
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2023-08-21
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I'm requesting an enhancement for the asString function in the TelephoneLinkHandler class (TYPO3\CMS\Core\LinkHandling). I suggest adding support for pause characters like commas (,) and semi-colons (;) when generating phone links.
This enhancement is crucial for linking phone numbers with extensions, especially for scenarios involving automated systems and PIN inputs.
Adjust the existing regex pattern in TelephoneLinkHandler as follows:
Current Regex Pattern:
/(?:[^\d\+]+)/
Suggested Regex Pattern:
/(?:[^\d\+,;]+)/
This enhancement will provide more flexibility in generating telephone links to accommodate various dialing scenarios in different countries and systems.
Actions