Index: openacs-4/packages/xowiki/www/pages/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/pages/Attic/index.vuh,v diff -u -N -r1.8 -r1.9 --- openacs-4/packages/xowiki/www/pages/index.vuh 28 May 2006 12:01:51 -0000 1.8 +++ openacs-4/packages/xowiki/www/pages/index.vuh 22 Jun 2006 06:09:23 -0000 1.9 @@ -33,6 +33,13 @@ if {[info exists name]} { set item_id [::Generic::CrItem lookup -name $name -parent_id $folder_id] } + if {$item_id == 0} { + set subst_blank_in_name [$folder_id get_payload subst_blank_in_name] + if {$subst_blank_in_name == 1} { + regsub -all { } $name "_" name + set item_id [::Generic::CrItem lookup -name $name -parent_id $folder_id] + } + } } #ns_log notice "-- path=<$path> item_id=$item_id" if {$item_id != 0} {