Closed Bug 288570 Opened 20 years ago Closed 20 years ago

URL's in style section incorrectly converted to hyperlinks

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 234210

People

(Reporter: Brad+Mozilla_old, Assigned: mscott)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 When composing a message, I use the insert html function to paste in a page containing a style section that refernces a background image by url. Upon sending, the link detection process incorrectly converts the url into garbage. For example: <style> ... td#sideimg { background-image: url(http://www.nyfos.org/benefits/2005-05-03/image006.gif); width: 78px; padding: 10; } ... </style> is converted prior to being sent into this invalid syntax: ... td#sideimg { background-image: url(<a class="moz-txt-link-freetext" href="http://www.nyfos.org/benefits/2005-05-03/image006.gif">http://www.nyfos.org/benefits/2005-05-03/image006.gif</a>); width: 78px; padding: 10; } ... Reproducible: Always Steps to Reproduce: 1. open the compose window to compose a new message 2. choose "insert->HTML" 3. paste in HTML containing a reference to a url in the style section 4. send 5. look at what got sent. Actual Results: html to convert the url into a hyperlink was injected incorrectly into the style section. Expected Results: the url in the style section should not have been altered by the automatic "convert url's to hyperlinks" process.
*** This bug has been marked as a duplicate of 234210 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.