git.samba.org
/
ira
/
third_party.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b9b39
)
Fix bug 6861 - rfc1738_unescape converts '+' characters to spaces. Stop rfc1738_unesc...
author
Jeremy Allison
<jra@samba.org>
Fri, 30 Oct 2009 21:16:03 +0000
(14:16 -0700)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 10 Nov 2009 11:25:04 +0000
(12:25 +0100)
util/util.c
patch
|
blob
|
history
diff --git
a/util/util.c
b/util/util.c
index 0148bdb00d4d43a4246130b9e5993c6f67253d48..af682ac15fcf768d67b5752c4d8746d34b81b429 100644
(file)
--- a/
util/util.c
+++ b/
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];