1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

Fix bug 916 - do not perform a + -> space substitution for squid URL encoded

strings, only form input in SWAT.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
-
parent e0a026c9b5
commit 8d54f5fe0c
2 changed files with 18 additions and 5 deletions

View File

@ -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];