Update of mhonarc/MHonArc/lib Modified Files: ewhutil.pl Log Message: BUG #16368: FIX: Make sure urlize functions do 0 padding for characters less then 0x10. ====================================================================== FILE: mhonarc/MHonArc/lib/ewhutil.pl <http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mhonarc/MHonArc/lib/ewhutil.pl?rev=2.16> <http://www.mhonarc.org/cgi-bin/viewcvs.cgi/mhonarc/MHonArc/lib/ewhutil.pl.diff?r1=2.15&r2=2.16&diff_format=h> --- ewhutil.pl 2 Jun 2005 02:12:30 -0000 2.15 +++ ewhutil.pl 20 Apr 2006 04:03:29 -0000 2.16 @@ -114,5 +114,5 @@ my($url) = shift || ""; my $url_r = ref($url) ? $url : \$url; - $$url_r =~ s/([^\w\.\-:])/sprintf("%%%X",unpack("C",$1))/ge; + $$url_r =~ s/([^\w\.\-:])/sprintf("%%%02X",unpack("C",$1))/ge; $$url_r; } @@ -121,5 +121,5 @@ my($url) = shift || ""; my $url_r = ref($url) ? $url : \$url; - $$url_r =~ s/([^\w\.\-:\/])/sprintf("%%%X",unpack("C",$1))/ge; + $$url_r =~ s/([^\w\.\-:\/])/sprintf("%%%02X",unpack("C",$1))/ge; $$url_r; } --------------------------------------------------------------------- To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the message text UNSUBSCRIBE MHONARC-COMMITS