Project

General

Profile

Actions

Bug #88287

closed

TypoScript typolink does not render email link

Added by Anonymous over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2019-05-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Anonymous over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Anonymous over 5 years ago

still present in 9.5.6

Actions #3

Updated by Anonymous over 5 years ago

Found a relation:
config.spamProtectEmailAddresses = 1 breaks it. Going to check just released version 9.5.8...

Actions #4

Updated by Anonymous over 5 years ago

still present in 9.5.8

Actions #5

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

Actions #6

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)

Actions #7

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.

Actions #8

Updated by Benni Mack over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

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.

Actions #10

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF