--- loncom/interface/Attic/londropadd.pm 2004/12/02 19:00:38 1.122 +++ loncom/interface/Attic/londropadd.pm 2005/01/11 22:12:22 1.123 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to drop and add students in courses # -# $Id: londropadd.pm,v 1.122 2004/12/02 19:00:38 matthew Exp $ +# $Id: londropadd.pm,v 1.123 2005/01/11 22:12:22 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -937,8 +937,8 @@ sub print_enroll_single_student_form { # my $username = $ENV{'form.cuname'}; my $domain = $ENV{'form.cudomain'}; - $username=~s/[\W|_]//gs; - $domain=~s/[\W|_]//gs; + $username=~s/\W//gs; + $domain=~s/\W//gs; my $home = &Apache::lonnet::homeserver($username,$domain); # $new_user flags whether we are creating a new user or using an old one my $new_user = 1;