--- loncom/interface/loncommon.pm 2014/06/09 20:40:11 1.1075.2.75 +++ loncom/interface/loncommon.pm 2014/06/16 05:41:23 1.1075.2.76 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1075.2.75 2014/06/09 20:40:11 raeburn Exp $ +# $Id: loncommon.pm,v 1.1075.2.76 2014/06/16 05:41:23 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2361,7 +2361,7 @@ sub decode_user_agent { my $clientunicode='0'; my $clientmobile=0; for (my $i=0;$i<=$#browsertype;$i++) { - my ($bname,$match,$notmatch,$vreg,$minv,$univ)=split(/\:/,$browsertype[$i]); + my ($bname,$match,$notmatch,$vreg,$minv,$univ)=split(/\%/,$browsertype[$i]); if (($httpbrowser=~/$match/i) && ($httpbrowser!~/$notmatch/i)) { $clientbrowser=$bname; $httpbrowser=~/$vreg/i;