Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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:
- Set a profile to use "None" for the link dialog and "CKFinder" for the image dialog
- Go to a page that has CKEditor embedded
- Open the image dialog and hit the "Browse Server" button or try to upload via the "Upload" tab
- 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...
Comment | File | Size | Author |
---|---|---|---|
#1 | bad-ckfinder-path-1507362-1.patch | 1.77 KB | kevin.dutra |
Comments
Comment #1
kevin.dutra CreditAttribution: kevin.dutra commentedI believe this should cover it.
Comment #2
dczepierga CreditAttribution: dczepierga commentedReally thx for review and patch. Good work!
I commit it to GIT (diff)
Greetings
Comment #3
dczepierga CreditAttribution: dczepierga commentedComment #4
mkesicki CreditAttribution: mkesicki commented