]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
URI-escape using the recommended upper case
authorhno <>
Thu, 24 May 2007 03:59:44 +0000 (03:59 +0000)
committerhno <>
Thu, 24 May 2007 03:59:44 +0000 (03:59 +0000)
lib/rfc1738.c

index c2f16544920ccee79cc671e1e3e714612c1707b7..cee61bac8c0f915109963c36bcfefbef00e3ba86 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rfc1738.c,v 1.26 2003/12/19 06:12:40 wessels Exp $
+ * $Id: rfc1738.c,v 1.27 2007/05/23 21:59:44 hno Exp $
  *
  * DEBUG: 
  * AUTHOR: Harvest Derived
@@ -136,7 +136,7 @@ rfc1738_do_escape(const char *url, int encode_reserved)
         * allocated - KA */
 
        if (do_escape == 1) {
-           (void) sprintf(q, "%%%02x", (unsigned char) *p);
+           (void) sprintf(q, "%%%02X", (unsigned char) *p);
            q += sizeof(char) * 2;
        } else {
            *q = *p;