Index: openacs-4/packages/acs-tcl/tcl/utilities-procs-naviserver.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/utilities-procs-naviserver.tcl,v diff -u -N -r1.4.2.4 -r1.4.2.5 --- openacs-4/packages/acs-tcl/tcl/utilities-procs-naviserver.tcl 18 Oct 2019 16:07:27 -0000 1.4.2.4 +++ openacs-4/packages/acs-tcl/tcl/utilities-procs-naviserver.tcl 20 Oct 2019 12:52:52 -0000 1.4.2.5 @@ -25,14 +25,15 @@ # NaviServer implementation of ad_url(en|de)code* procs #------------------------------------------------------------------------- -ad_proc -public ad_urlencode_folder_path {path} { +ad_proc -public ad_urlencode_folder_path { folder_path } { Perform an urlencode operation on the segments of the provided - folder (for a full folder path rather than path segments as in - ad_urlencode_path). + folder path, i.e. for a full folder path rather than path segments as in + ad_urlencode_path. + @see ad_urlencode_path } { - if {$path ne ""} { - return [ns_urlencode -part path -- {*}[split $path /]] + if {$folder_path ne ""} { + return [ns_urlencode -part path -- {*}[split $folder_path /]] } else { return "" }