Hello.

Here is a patch for Apache::compat for function parse_args.
It changes ``pack("c",...'' to ``pack("C",...''.

Without this patch an error ``Character in "c" format wrapped''
occures when parsing parameters which has symbols with codes > 128
(non-ascii characters).

-- 

Regards, Walery Studennikov,
WebNames.Ru technical support
--- compat.pm.orig      Tue Oct  8 17:54:44 2002
+++ compat.pm   Tue Oct  8 17:55:07 2002
@@ -213,7 +213,7 @@
     return () unless defined $string and $string;
 
     return map {
-        s/%([0-9a-fA-F]{2})/pack("c",hex($1))/ge;
+        s/%([0-9a-fA-F]{2})/pack("C",hex($1))/ge;
         $_;
     } split /[=&;]/, $string, -1;
 }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to