--- loncom/auth/lonacc.pm 2006/09/19 20:36:27 1.101 +++ loncom/auth/lonacc.pm 2006/11/23 01:49:41 1.102 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: lonacc.pm,v 1.101 2006/09/19 20:36:27 albertel Exp $ +# $Id: lonacc.pm,v 1.102 2006/11/23 01:49:41 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -200,8 +200,7 @@ sub handler { my $handle; if ($lonid) { - $handle=$lonid->value; - $handle=~s/\W//g; + $handle=&LONCAPA::clean_handle($lonid->value); } my $result = &sso_login($r,$lonid,$handle);