The path to CKFinder will be constructed improperly if a profile has CKEditor set as the file browser for the image dialog but not the link dialog. If both use CKEditor, this won't happen.

Steps to reproduce:

  1. Set a profile to use "None" for the link dialog and "CKFinder" for the image dialog
  2. Go to a page that has CKEditor embedded
  3. Open the image dialog and hit the "Browse Server" button or try to upload via the "Upload" tab
  4. You get a 404

Basically it'll construct something like:
.../sites/all/libraries/ckfinder/ckfinder/ckfinder.html...
when it should be constructing it as:
.../sites/all/libraries/ckfinder/ckfinder.html...

Files: 
CommentFileSizeAuthor
#1 bad-ckfinder-path-1507362-1.patch1.77 KBkevin.dutra

Comments

Status:Active» Needs review
StatusFileSize
new1.77 KB

I believe this should cover it.

Status:Needs review» Fixed

Really thx for review and patch. Good work!

I commit it to GIT (diff)

Greetings

Title:Path to CKFinder can be badly constructed[D6] Path to CKFinder can be badly constructed

Status:Fixed» Closed (fixed)