Bug #22118
closed
URL in text mails contain often square brackets which irritate Thunderbird for example
Added by Stefan Padberg almost 15 years ago.
Updated over 13 years ago.
Description
Square brackets are "unwise characters" according to RFC 2396 <http://www.ietf.org/rfc/rfc2396.txt> and should be avoided.
A solution could be to urlencode the url string.
Thunderbird truncates the link when meeting a square bracket open. This is a little bit annoying.
The Thunderbird team said they won't fix this because of RFC 2396 (see this thread:
<https://bugzilla.mozilla.org/show_bug.cgi?id=218287>) So it is maybe a good idea to change Typo3 in this point.
(issue imported from #M13538)
I think we can't fix this globally, but we have to urlencode every single URL placed in a mail. Therefore we need to know, where this happens.
Can you give some hints (and may be even patches)?
'mm_forum' generates a lot of mails with bracket links.
Another problem is with tt_news links when we want to spread links to a certain news via mail.
I found out now that Thunderbird accepts the brackets when the link is put in angle brackets like:
<http://www.typo3.org/index.php=123?&ttnews[uid]=67>
I started now to add these angle brackets in the mail templates and in our handbook to advise the editors to put angel brackets in their mails, and it seems to work better now. So this can be a workaround.
Maybe it is just enough if this is spread in the Typo3 community...
- Status changed from Needs Feedback to Closed
- Target version deleted (
0)
- TYPO3 Version set to 4.4
Square brackets (or arrays) in URLs are pretty normal. If you want to send these via mail, you have to take care of urlencoding them before the mail is sent. At the moment this does not look like a core problem, but like a problem of the tool / extension used. I'm therefore closing this bug. If you still have this problem please report to the respective extension authors.
Also available in: Atom
PDF