Opened 17 years ago
Closed 17 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 17 years ago by
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
The asp part has been fixed in [750]. Nice catch.