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