Opened 12 years ago

Closed 12 years ago

#1123 closed Bug (fixed)

FileUpload command returns invalid url

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: File Browser Version: SVN (FCKeditor) - Retired
Keywords: Cc:

Description

After uploading file inside subdirectory, returned url is invalid because it is created with the following command:

sFileUrl = CombinePaths( GetResourceTypePath( resourceType, sCommand ) , sFileName )

I believe we should also use currentFolder to construct the final url:

	$sFileUrl = CombinePaths( GetResourceTypePath( $resourceType, $sCommand ) , $currentFolder ) ;
	$sFileUrl = CombinePaths( $sFileUrl, $sFileName ) ;

Change History (2)

comment:1 Changed 12 years ago by Alfonso Martínez de Lizarrondo

The asp part has been fixed in [750]. Nice catch.

comment:2 Changed 12 years ago by Wiktor Walc

Resolution: fixed
Status: newclosed

Lasso part fixed in [839]. Perl don't use it's own config file and sends invalid result so it deserves for it's own ticket. Python version was working fine. PHP & CF versions had been already fixed so closing this one.

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