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...

CommentFileSizeAuthor
#1 bad-ckfinder-path-1507362-1.patch1.77 KBkevin.dutra
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kevin.dutra’s picture

Status: Active » Needs review
FileSize
1.77 KB

I believe this should cover it.

dczepierga’s picture

Status: Needs review » Fixed

Really thx for review and patch. Good work!

I commit it to GIT (diff)

Greetings

dczepierga’s picture

Title: Path to CKFinder can be badly constructed » [D6] Path to CKFinder can be badly constructed
mkesicki’s picture

Status: Fixed » Closed (fixed)