powermail icon indicating copy to clipboard operation
powermail copied to clipboard

Broken Link in optin mail in plaintext mails

Open kanow opened this issue 5 years ago • 0 comments

powermail v7.4.0, TYPO3 9.5.17

The confirmation link in plaintext mails is broken. I think there are 2 problems in powermail/Classes/Domain/Service/Mail/PlaintextService.php in extractLinkForPlainTextContent()

first: missing htmlspecialchars_decode for the linktext if the link text is also a url. Url with & produces a 404 error if I click the link in thunderbird. Maybe only add htmlspecialchars_decode if the link text is really an url.

second: missing space character after the link before the closing ].

Correct me if I'm wrong.

kanow avatar Jun 05 '20 10:06 kanow