From: hno <> Date: Thu, 24 May 2007 03:59:44 +0000 (+0000) Subject: URI-escape using the recommended upper case X-Git-Tag: SQUID_3_0_PRE7~237 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17916cfcc8d322a734cae96a6247137bd2a5de33;p=thirdparty%2Fsquid.git URI-escape using the recommended upper case --- diff --git a/lib/rfc1738.c b/lib/rfc1738.c index c2f1654492..cee61bac8c 100644 --- a/lib/rfc1738.c +++ b/lib/rfc1738.c @@ -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;