From 5447a9348a20ee0a26c77bbb551f58e7d22b0da0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 30 Oct 2009 14:16:03 -0700 Subject: [PATCH] Fix bug 6861 - rfc1738_unescape converts '+' characters to spaces. Stop rfc1738_unescape() from mangling '+' characters to spaces. Noticed by Andrew Bartlett. Jeremy. --- lib/util/util.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/lib/util/util.c b/lib/util/util.c index 0148bdb..af682ac 100644 --- a/lib/util/util.c +++ b/lib/util/util.c @@ -702,11 +702,6 @@ _PUBLIC_ void rfc1738_unescape(char *buf) { char *p=buf; - while ((p=strchr(p,'+'))) - *p = ' '; - - p = buf; - while (p && *p && (p=strchr(p,'%'))) { int c1 = p[1]; int c2 = p[2]; -- 1.5.4.3