Open
Bug 295930
Opened 19 years ago
Updated 2 years ago
Automatic absolute to relative conversion of URLs with inserthtml in designMode
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
NEW
People
(Reporter: rainfalling, Unassigned)
References
Details
(Keywords: helpwanted, testcase)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050405 Firefox/1.0 (Ubuntu package 1.0.2) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050405 Firefox/1.0 (Ubuntu package 1.0.2) When trying to insert HTML code with absolute URLs to files on the same server using the 'inserthtml' command in designMode, mozilla always converts the URLs to relative ones. Reproducible: Always Steps to Reproduce: 1.I have the editor working in http://server.com/admin/editor.php and the script that will display the documents is http://server.com/display.php 2.Now, if I insert the following code into the editor using the inserthtml command: "<img src="http://server.com/images/flower.jpg">" 3. It will be converted to: "<img src="../images/flower.jpg">" Actual Results: The result is that the image will load just fine in the editor. But when displayed with the displayscript the path will be all wrong resulting in a broken image. Expected Results: Mozilla should stop trying to be smart. If I tell it to insert any specific code, it should insert the exact code and not try to change it. Not even Internet Explorer tries to be "smart" in this case. It works like expected there. In this specific case, you could just as well use the insertimage function. But if you want to do something a bit more advanced it wont do.
Updated•19 years ago
|
Assignee: nobody → mozeditor
Component: General → Editor
Product: Firefox → Core
QA Contact: general → bugzilla
Version: unspecified → 1.7 Branch
Updated•19 years ago
|
Keywords: helpwanted
Comment 1•18 years ago
|
||
See also bug 348850, which is a bug in how this conversion is performed
Updated•17 years ago
|
QA Contact: bugzilla → editor
Updated•17 years ago
|
Assignee: mozeditor → nobody
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•14 years ago
|
Version: 1.7 Branch → Trunk
Has there been any updates on this? A bug with CKEditor sent me to this. http://dev.fckeditor.net/ticket/193
i'm waiting for news too i hope this will be resolved soon i don't want no more to use random attributes like src2="" or href2=""
Any hope for Firefox 4? Looks like this bug has been around since 2005. Because of it, I had to recommend my team to move from Firefox to Chrome. They all love Firefox but this bug leads to too many mistake as they use CKEditor a lot. Is there a way give this bug more attention?
Firefox 4 beta 4 still have this problem :( Due to this bug we have to move our editors (~40 people) from FF to Chrome.
Comment 10•12 years ago
|
||
Issue is still present in FF 10
Comment 11•12 years ago
|
||
Is there anything we can do to help this bug get resolved? A lot of ckeditor users are affected by this.
Comment 12•12 years ago
|
||
CKEditor shouldn't be affected by changes due to the inserthtml command, what most people notice is bug 613517 that it's fixed for Firefox 12.
Updated•5 years ago
|
Assignee: ehsan → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•