diff options
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/connection.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/daemon/connection.c b/src/daemon/connection.c index 00188a84..5c2106ee 100644 --- a/src/daemon/connection.c +++ b/src/daemon/connection.c | |||
@@ -1056,7 +1056,17 @@ parse_arguments (enum MHD_ValueKind kind, | |||
1056 | { | 1056 | { |
1057 | equals = strstr (args, "="); | 1057 | equals = strstr (args, "="); |
1058 | if (equals == NULL) | 1058 | if (equals == NULL) |
1059 | return MHD_NO; /* invalid, ignore */ | 1059 | { |
1060 | /* add with 'value' NULL */ | ||
1061 | connection->daemon->unescape_callback (connection->daemon->unescape_callback_cls, | ||
1062 | connection, | ||
1063 | args); | ||
1064 | |||
1065 | return connection_add_header (connection, | ||
1066 | args, | ||
1067 | NULL, | ||
1068 | kind); | ||
1069 | } | ||
1060 | equals[0] = '\0'; | 1070 | equals[0] = '\0'; |
1061 | equals++; | 1071 | equals++; |
1062 | amper = strstr (equals, "&"); | 1072 | amper = strstr (equals, "&"); |