There is a problem with Nginx digest auth module which is described here: https://github.com/samizdatco/nginx-http-auth-digest/issues/18 The patch is here: https://github.com/yanchenko-igor/nginx-http-auth-digest/blob/69fcbcb3ff345093f06b066efe18efad3dd84460/ngx_http_auth_digest_module.c Can you please add this patch to the freebsd port so we don't have to add it manually in every nginx upgrade?
Hi Christos, thanks for report. Unfortunately, I haven't found any patch yet. Could you please add it to this bug report? Thanks again.
Sorry for the delay in my reply. I was too busy the last days. The original file that is downloaded when we complile nginx digest authentication module is here: https://github.com/samizdatco/nginx-http-auth-digest/blob/master/ngx_http_auth_digest_module.c The new file that fix this issue is here: https://github.com/yanchenko-igor/nginx-http-auth-digest/blob/69fcbcb3ff345093f06b066efe18efad3dd84460/ngx_http_auth_digest_module.c Here is the patch: http://pastebin.com/raw.php?i=tQQQ3xAw
Any update on this?
Chris, could you please add the patch to this problem report. Thanks.
Committed with modification, thanks for report!
A commit references this bug: Author: osa Date: Sat Jun 13 17:34:35 UTC 2015 New revision: 389474 URL: https://svnweb.freebsd.org/changeset/ports/389474 Log: Fix digest authentication fail on URLs with a querystring for third-party http_auth_digest module. PR: 199758 Changes: head/www/nginx/Makefile head/www/nginx/files/extra-patch-ngx_http_auth_digest_module.c head/www/nginx-devel/Makefile head/www/nginx-devel/files/extra-patch-ngx_http_auth_digest_module.c