- Issue created by @Martygraphie
- Merge request !54Issue #3414096: The url field of the button/link pattern does not support mailto and causes a 500 error → (Open) created by Martygraphie
- Status changed to Needs review
11 months ago 4:31pm 11 January 2024 - 🇷🇪Réunion Martygraphie Saint-Denis (Réunion)
I'm adding a temporary patch so that the modification will work on version 1.0.0-beta4 (based on version 1.9 of the DSFR)
- Status changed to Needs work
11 months ago 10:12am 18 January 2024 - 🇫🇷France pdureau Paris
Hi Martygraphie,
Thanks for the MR.
Just a question, why not using UrlHelper::setAllowedProtocols()?
Anyway, for information, those preprocess hooks will not stay, because they are forbidden by SDC Core API, so by incoming UI Patterns 2.x.
- Status changed to RTBC
11 months ago 1:45am 6 February 2024 - 🇫🇷France pdureau Paris
Just a question, why not using UrlHelper::setAllowedProtocols()?
Maybe because mailto protocol doesn't work with UrlHelper which expects
:/
instead of just:
I will merge
- Status changed to Fixed
11 months ago 2:07am 6 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.