#101721TelephoneLinkHandler should allow commas and other pause characters
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.
Reviews 3
History 47
-
Markus Klein commented 08/22/23, 06:24
-
Gerrit Code Review pushed patch set 1 for main to change 80622 status
NewUnder Review 08/22/23, 17:56 -
Dominic Petit commented 08/22/23, 18:02
Markus Klein wrote in #note-1:
> Sure, go ahead. Please push the suggested change to our review system.
>
> https://docs.typo3.org/m/typo3/guide-contributionworkflow/main/en-us/Here it is, its my first contribution so I hope I did everything properly.
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 80654 08/23/23, 10:11
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 80655 08/23/23, 10:12
-
Dominic Petit commented and changed status
Under ReviewResolved done0 %100 % 08/23/23, 10:35Applied in changeset commit:fc59d590465add8957271b90f03911b7129e6ce2.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 15:19
Sure, go ahead. Please push the suggested change to our review system.
https://docs.typo3.org/m/typo3/guide-contributionworkflow/main/en-us/