Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
http: fix digest auth - remove too restrictive check, fixes #3848, fi…
…xes #3826
  • Loading branch information
perexg committed Jun 13, 2016
1 parent f59669c commit 42ef859
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/http.c
Expand Up @@ -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");
Expand Down

0 comments on commit 42ef859

Please sign in to comment.