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:
when it should be constructing it as:

#1 bad-ckfinder-path-1507362-1.patch1.77 KBkevin.dutra
Members fund testing for the Drupal project. Drupal Association Learn more


kevin.dutra’s picture

Status: Active » Needs review
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)


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)