Index: openacs-4/packages/file-storage/www/folder-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/folder-chunk.tcl,v diff -u -r1.31.2.6 -r1.31.2.7 --- openacs-4/packages/file-storage/www/folder-chunk.tcl 24 Aug 2005 07:01:52 -0000 1.31.2.6 +++ openacs-4/packages/file-storage/www/folder-chunk.tcl 31 Aug 2005 15:01:32 -0000 1.31.2.7 @@ -228,11 +228,10 @@ set new_version_link [_ acs-kernel.common_New] set new_version_url "${fs_url}file-add?[export_vars {{file_id $object_id}}]" set icon "/resources/file-storage/file.gif" + set file_url "${fs_url}view/${file_url}" if {$like_filesystem_p} { - set file_url "${fs_url}view/${folder_path}${title}" set download_url "${fs_url}download/$title?[export_vars {{file_id $object_id}}]" } else { - set file_url "${fs_url}view/${folder_path}${file_upload_name}" set download_url "${fs_url}download/$name?[export_vars {{file_id $object_id}}]" } }