diff options
Diffstat (limited to 'src/microhttpd/internal.c')
-rw-r--r-- | src/microhttpd/internal.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/microhttpd/internal.c b/src/microhttpd/internal.c index 08d20cee..6170fe0a 100644 --- a/src/microhttpd/internal.c +++ b/src/microhttpd/internal.c | |||
@@ -105,7 +105,7 @@ MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...) | |||
105 | 105 | ||
106 | 106 | ||
107 | /** | 107 | /** |
108 | * Process escape sequences ('+'=space, %HH) Updates val in place; the | 108 | * Process escape sequences ('%HH') Updates val in place; the |
109 | * result should be UTF-8 encoded and cannot be larger than the input. | 109 | * result should be UTF-8 encoded and cannot be larger than the input. |
110 | * The result must also still be 0-terminated. | 110 | * The result must also still be 0-terminated. |
111 | * | 111 | * |
@@ -130,11 +130,6 @@ MHD_http_unescape (void *cls, | |||
130 | { | 130 | { |
131 | switch (*rpos) | 131 | switch (*rpos) |
132 | { | 132 | { |
133 | case '+': | ||
134 | *wpos = ' '; | ||
135 | wpos++; | ||
136 | rpos++; | ||
137 | break; | ||
138 | case '%': | 133 | case '%': |
139 | if ( ('\0' == rpos[1]) || | 134 | if ( ('\0' == rpos[1]) || |
140 | ('\0' == rpos[2]) ) | 135 | ('\0' == rpos[2]) ) |