Opened 8 years ago

Closed 5 years ago

#3772 closed Bug (wontfix)

Incomplete URL from perl connector

Reported by: t.boje Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.6.3
Keywords: Cc:



we're using the perl connector and had a problem with image uploads.

When uploading directly in the insert image dialog the new image URL only contains the "Image/filename.jpg" part. However we configured the upload directory to be different from the webroot, so the relative URL resulted in a 404.

Using the file browser resulted in a correct URL (like "/uploads/Image/filename.jpg"). After comparing the perl connector source and the php connector source, I introduced a quick hack into

SendUploadResults($sErrorNumber, $resourceType.$currentFolder.$sFileName, $sFileName, );


SendUploadResults($sErrorNumber, $GLOBALS{'UserFilesPath'}.$resourceType.$currentFolder.$sFileName, $sFileName, );

This solves the problem for us with no side effects so far - esp. uploading in the file browser still works. I'm not a perl programmer, though, so there may be a nicer/better/shorter solution.



Change History (1)

comment:1 Changed 5 years ago by j.swiderski

  • Resolution set to wontfix
  • Status changed from new to closed

FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x. Perl connector is not supported anymore.

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy