[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 12 May 2006 16:47:36 -0000
albertel Fri May 12 12:47:36 2006 EDT
Modified files:
/loncom/interface londocs.pm
Log:
- BUG#4755 Course with "/" in name is incorrectly dumped to CSTR,
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.226 loncom/interface/londocs.pm:1.227
--- loncom/interface/londocs.pm:1.226 Mon May 1 15:37:33 2006
+++ loncom/interface/londocs.pm Fri May 12 12:47:35 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.226 2006/05/01 19:37:33 albertel Exp $
+# $Id: londocs.pm,v 1.227 2006/05/12 16:47:35 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -221,7 +221,7 @@
$r->print('</select>');
}
my $title=$origcrsdata{'description'};
- $title=~s/\s+/\_/gs;
+ $title=~s/[\/\s]+/\_/gs;
$title=&clean($title);
$r->print('<h3>'.&mt('Folder in Construction Space').'</h3><input type="text" size="50" name="authorfolder" value="'.$title.'" /><br />');
&tiehash();