"Nikolay Ananiev" <[EMAIL PROTECTED]> writes:

> Win2000 Advanced server, ActivePerl 5.8.7 (build 813)
> mod_perl 2.0.2-dev, latest apreq2 svn, httpd 2.0.54
> (httpd, apreq2 and mp2 are compiled with VS .NET 2002)

See if this patch helps any:

Index: library/util.c
===================================================================
--- library/util.c      (revision 279108)
+++ library/util.c      (working copy)
@@ -497,11 +497,11 @@
 {
     char *d = dest;
     const unsigned char *s = (const unsigned char *)src;
-    unsigned c;
+    unsigned char c;
 
     for ( ; s < (const unsigned char *)src + slen; ++s) {
         c = *s;
-        if ( apr_isalnum(c) || c == '-' || c == '.' || c == '_' || c == '~' )
+        if ( (c < 0x80 && apr_isalnum(c)) || c == '-' || c == '.' || c == '_' 
|| c == '~' )
             *d++ = c;
 
         else if ( c == ' ' )


-- 
Joe Schaefer

Reply via email to