Opened 11 years ago

Last modified 11 years ago

#10885 confirmed Bug

Broken path to an anchor when CKEditor is located in a directory with a space

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0 Beta
Keywords: Cc:

Description (last modified by Wiktor Walc)

Kudos to Anna and Olek.

When there is an anchor in the content, CKEditor requests the following image: /ckcke_contents_ltr0421/full/plugins/link/images/anchor.png?t=D8AD, assuming that CKEditor is located in "/ck 421/full/"on the server.

Note the weird path in the URL: /ckcke_contents_ltr0421/

Confirmed in 4.2.1 and 4.3 Beta. Did not check earlier versions.

Change History (4)

comment:1 Changed 11 years ago by Wiktor Walc

Description: modified (diff)

comment:2 Changed 11 years ago by Wiktor Walc

Description: modified (diff)

comment:3 Changed 11 years ago by Olek Nowodziński

This is because the path looks like

 ../../ckedi%20tor/samples/replacebycode.html

when there's a space in it. This regex depends on "%1" and "%2" and it breaks the path to the image. We got to use some else to avoid collisions with URLs.

comment:4 Changed 11 years ago by Jakub Ś

Status: newconfirmed
Version: 4.0 Beta

I was able to reproduce this problem fro CKEditor 4.0 beta (Works fine in CKE 3.x branch)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy