Project

General

Profile

Actions

Bug #22118

closed

URL in text mails contain often square brackets which irritate Thunderbird for example

Added by Stefan Padberg about 14 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-02-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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&gt;) So it is maybe a good idea to change Typo3 in this point.

(issue imported from #M13538)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #23984: tx_felogin: forgot password-mails links not clickableClosedJigal van Hemert2010-11-08

Actions
Actions #1

Updated by Steffen Gebert about 14 years ago

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)?

Actions #2

Updated by Stefan Padberg about 14 years ago

'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...

Actions #3

Updated by Susanne Moog over 12 years ago

  • 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.

Actions

Also available in: Atom PDF