summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-12-25 09:57:39 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-12-25 09:57:39 +0000
commit40c3f98b8ffa9d3ff6f5cac1122eb11001928dcc (patch)
treec8e9c5295387c9f1fa11fb1b2e302c8a31fe0037 /source3/lib
parentaeb9021852325ef9faf3b1160ce55afa35a90513 (diff)
downloadsamba-40c3f98b8ffa9d3ff6f5cac1122eb11001928dcc.tar.gz
samba-40c3f98b8ffa9d3ff6f5cac1122eb11001928dcc.tar.bz2
samba-40c3f98b8ffa9d3ff6f5cac1122eb11001928dcc.zip
(merge from 3.0)
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 794ff4da03a3c5b6afa3ee4802f83f04571a5652)
Diffstat (limited to 'source3/lib')
-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 1aa33a1a4b..fd339370b3 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];