Closed
Bug 290740
Opened 19 years ago
Closed 17 years ago
Unwanted conversion of urls when pasting html text (absolute->relative)
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: fiedorow, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 I am running into this bug or misfeature. When pasting html text within Firefox into some web site html editor window, all absolute urls refering to that site get automatically converted into relative urls. As an example if I send mail from gmail.google.com, an absolute link href="http://gmail.google.com/test/test" gets converted into href="../test/test" While this is an artificial example, at the web site I am running, users frequently paste links refering to other pages on the site in a discussion forum like this one. The forum postings are also emailed to the participants . The resulting email messages thus contain dysfunctional links. Worse yet our email server has been configured to scan both outgoing and incoming email for cloaked urls redirecting users to phishing sites. The dysfunctional urls in this email are interpreted as such, and lots of warnings are inserted into the emails about this, making them unreadable. Reproducible: Always Steps to Reproduce: 1. Log into http://gmail.google.com 2. Compose a new message in richtext (html) format 3. Paste html text containing url of the form http://gamil.google.com/something-or-other 4. Mail it to some address and look at the html source of the resulting message Actual Results: Absolute url got converted into a relative url Expected Results: Should leave the url alone as absolute url.
Comment 1•19 years ago
|
||
- Seems to happen in any Midas/wysiwyg editor (ni designMode) that is not specially patched. - Happens also when moving the image around the editor window, ie. if the image has an absolute url and you move it around, the url will be converted into a relative one.
Could this be a dupe of Bug 295930?
Comment 3•19 years ago
|
||
(In reply to comment #2) > Could this be a dupe of Bug 295930? I think that test case is broken or required a login. This test case is better. My experience is also that the problem occurs only when the image is moved.
Updated•17 years ago
|
Assignee: bross2 → nobody
Comment 4•17 years ago
|
||
I can no longer reproduce this using Firefox 2.0.0.3 and Gmail. Did Gmail do something on their end or was this fixed in Firefox along the way?
Comment 5•17 years ago
|
||
Closing as WFM per comment 4. If you're able to reproduce this using Firefox 2.0.0.3 and a new profile, please comment and reopen. http://kb.mozillazine.org/Profile_Manager
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•