View | Details | Raw Unified | Return to bug 203967 | Differences between
and this patch

Collapse All | Expand All

(-)../nginx-http-auth-digest-0df6534/ngx_http_auth_digest_module.c (-4 lines)
Lines 150-159 Link Here
150
    u_char                           line[NGX_HTTP_AUTH_DIGEST_BUF_SIZE];
150
    u_char                           line[NGX_HTTP_AUTH_DIGEST_BUF_SIZE];
151
    u_char                          *p;
151
    u_char                          *p;
152
152
153
    if (r->internal) {
154
        return NGX_DECLINED;      
155
    }
156
157
    // if digest auth is disabled for this location, bail out immediately
153
    // if digest auth is disabled for this location, bail out immediately
158
    alcf = ngx_http_get_module_loc_conf(r, ngx_http_auth_digest_module);
154
    alcf = ngx_http_get_module_loc_conf(r, ngx_http_auth_digest_module);
159
    if (alcf->realm.len == 0 || alcf->user_file.value.len == 0) {
155
    if (alcf->realm.len == 0 || alcf->user_file.value.len == 0) {

Return to bug 203967