httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: Apache Request problems with tildes
Date Fri, 15 Jul 2005 13:56:32 GMT
Marc GrĂ cia <mgracia@oasyssoft.com> writes:

> The call to:
>
> my @values = $ar->param($parname);
>
> Only returns the params previous to the tilde ended param value (not
> included).

Thanks; see if this patch helps

Index: library/util.c
===================================================================
--- library/util.c	(revision 216190)
+++ library/util.c	(working copy)
@@ -351,6 +351,11 @@
                     *d = c;
                 }
 
+                else if (s + 1 >= end) {
+                    *d = c;
+                    *charset = APREQ_CHARSET_LATIN1;
+                }
+
                 /* utf8 cases */
 
                 else if (c < 0xE0) {

-- 
Joe Schaefer


Mime
View raw message