Bug #88287
closedTypoScript typolink does not render email link
100%
Description
TYPO3 9.5.5
This works:
10 = TEXT
10.value = PageLink
10.typolink.parameter = 12
-> renders a Link to Page 12
This does not work:
10 = TEXT
10.value = EmailLink
10.typolink.parameter = mailto:test@blubber.com
-> does not render a link, gives just the Text.
Dokumentation: https://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Typolink.html#parameter
Updated by Anonymous over 5 years ago
Found a relation:
config.spamProtectEmailAddresses = 1 breaks it. Going to check just released version 9.5.8...
Updated by Gerrit Code Review over 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61151
Updated by Riccardo De Contardi over 5 years ago
Why I am not able to reproduce this issue on both 9.5.8 and latest master?
With both config.spamProtectEmailAddresses = 0
and config.spamProtectEmailAddresses = 1
the link is always rendered (encrypted on the second case)
Updated by Anonymous over 5 years ago
Ok, I put this in a (nearly) plain installation and it also works for me there. Wonder what could cause to break this on my current project. Will add a comment if I find the reason - maybe this will help someone or bring us to a unhappy combination of things. But the typolink itself seams to be ok. Thanks Benni for adding the UnitTests to it.
Updated by Benni Mack over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ec36a0d58988c948dcb352081126ae0644519290.
Updated by Anonymous over 5 years ago
Finally I found the problem.
In the Fluid-Template there was a
<f:format.html parseFuncTSPath="lib.parseFunc"></f:format.html>
ViewHelper around the output. This worked in TYPO3 7 just fine...
Changing it to
<f:format.raw></f:format.raw>
solved the issue.
Updated by Benni Mack almost 5 years ago
- Status changed from Resolved to Closed