From: Jaroslav Kysela Date: Mon, 13 Jun 2016 12:17:19 +0000 (+0200) Subject: http: fix digest auth - remove too restrictive check, fixes #3848, fixes #3826 X-Git-Tag: v4.2.1~428 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42ef859706ae283ba40d9d059b12b9209332fc8d;p=thirdparty%2Ftvheadend.git http: fix digest auth - remove too restrictive check, fixes #3848, fixes #3826 --- diff --git a/src/http.c b/src/http.c index b62ed9137..be056ce26 100644 --- a/src/http.c +++ b/src/http.c @@ -1148,11 +1148,6 @@ process_request(http_connection_t *hc, htsbuf_queue_t *spill) free(v); return -1; } - if (hc->hc_nonce && strcmp(hc->hc_nonce, v) != 0) { - http_error(hc, HTTP_STATUS_UNAUTHORIZED); - free(v); - return -1; - } free(hc->hc_nonce); hc->hc_nonce = v; v = http_get_header_value(argv[1], "username");