summaryrefslogtreecommitdiff
path: root/source3/lib/util_str.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-12-25 09:37:41 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-12-25 09:37:41 +0000
commit3b386064911dce7c02e40b5cc7a971f2d4b28185 (patch)
tree2389606b043feaeb633849a7cef985063e4e92a6 /source3/lib/util_str.c
parent2e9deb12bfe10bfb12cc00820ce9f92af9bbd8de (diff)
downloadsamba-3b386064911dce7c02e40b5cc7a971f2d4b28185.tar.gz
samba-3b386064911dce7c02e40b5cc7a971f2d4b28185.tar.bz2
samba-3b386064911dce7c02e40b5cc7a971f2d4b28185.zip
Fix bug 916 - do not perform a + -> space substitution for squid URL encoded
strings, only form input in SWAT. Andrew Bartlett (This used to be commit 8d54f5fe0c5689660f37788916b37014754ce23e)
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r--source3/lib/util_str.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 2928584b8a..f9923bd325 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -1780,11 +1780,6 @@ void rfc1738_unescape(char *buf)
{
char *p=buf;
- while ((p=strchr_m(p,'+')))
- *p = ' ';
-
- p = buf;
-
while (p && *p && (p=strchr_m(p,'%'))) {
int c1 = p[1];
int c2 = p[2];