Closed Bug 407791 Opened 18 years ago Closed 18 years ago

Insert|Link does not work with multiple arguments

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: paul, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Build Identifier: version 2.0.0.9 (20071031) If you are inserting a link that has an ampersand in it, it will expand the ampersand in the href. "https://bugzilla.mozilla.org/enter_bug.cgi?product=Thunderbird&format=guided" </pre> Reproducible: Always Steps to Reproduce: 1. Select some text 2. Click Insert|Link (or ctrl-L) 3. Fill in the link as "https://bugzilla.mozilla.org/enter_bug.cgi?product=Thunderbird&format=guided" 4. Hit okay 5. The recipient gets html with the href modified where the ampersand is expanded to &amp; Actual Results: The recipient gets html with the href modified where the ampersand is expanded to &amp; (<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Thunderbird&amp;format=guided">Link</a>) Expected Results: It should not expand the ampersand: <a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Thunderbird&format=guided">Link</a> "Linkified" links do not have this problem.
That's not a bug. & needs to be escaped in html - insert link is just helping you... If you for some (very odd) reason need to insert it the other way you have to use the insert html option and put in the link itself. ->INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.