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.15.2.3 -r1.15.2.4 --- openacs-4/packages/file-storage/www/folder-chunk.tcl 3 Mar 2004 21:42:07 -0000 1.15.2.3 +++ openacs-4/packages/file-storage/www/folder-chunk.tcl 6 Mar 2004 17:34:21 -0000 1.15.2.4 @@ -50,7 +50,10 @@ } set name [lang::util::localize $name] - set file_url [ad_urlencode $file_url] + + # We need to encode the hashes in any i18n message keys (.LRN plays this trick on some of its folders). + # If we don't, the hashes will cause the path to be chopped off (by ns_conn url) at the leftmost hash. + regsub -all {#} $file_url {%23} file_url } ad_return_template