Closed (duplicate)
Project:
CKEditor Link
Version:
7.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2011 at 22:53 UTC
Updated:
15 Nov 2011 at 09:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
twodhttp://www.w3schools.com/TAGS/ref_urlencode.asp is nice to have in these cases.
When you say "the url in the editor window", do you mean what's inserted into CKEditor's URL field in its image dialog?
That is entirely controlled by IMCE and the bridge plugin so maybe this should be moved to IMCE Wysiwyg brige's queue?
If you disable the editor after adding the link and copy/paste the URL from the source in the browser, is it correct?
Comment #2
kruser commentedIt seems to come in okay from imce - see the screenshot with the editor disabled. Upon saving without Wysiwyg enabled, the file link is displayed okay.
Comment #3
twodHmm, if you toggle the editor on and off again after adding the image and disabling it, is it still ok?
If so, there's a problem when detaching the editor on the submit event (which should currently be done the same way as when clicking "Disable rich-text".
If you save the node, edit and disable the editor, is it still ok?
If so, the problem is with the text format/filter configuration. The URL is changed by one or more filters before being displayed, but the URL stored in the database is correct. Try disabling all filters in the format you're using and see if the URL is still incorrect when rendered.
Comment #4
kruser commentedThanks for the tip on disabling filters, I found that it's the ckeditor_link module's "CKEditor Link Filter" causing the issue. After I disabled it the link worked fine.
Comment #5
anrikun commentedThis is a duplicate of #1308398: Double encoding of links to files.
This bug should be fixed in last dev.
Please try it and confirm that it works so that I make a new official release.