encoded 1942 http/ngx_http_core_module.c ngx_str_t auth, encoded; encoded 1954 http/ngx_http_core_module.c encoded = r->headers_in.authorization->value; encoded 1956 http/ngx_http_core_module.c if (encoded.len < sizeof("Basic ") - 1 encoded 1957 http/ngx_http_core_module.c || ngx_strncasecmp(encoded.data, (u_char *) "Basic ", encoded 1965 http/ngx_http_core_module.c encoded.len -= sizeof("Basic ") - 1; encoded 1966 http/ngx_http_core_module.c encoded.data += sizeof("Basic ") - 1; encoded 1968 http/ngx_http_core_module.c while (encoded.len && encoded.data[0] == ' ') { encoded 1969 http/ngx_http_core_module.c encoded.len--; encoded 1970 http/ngx_http_core_module.c encoded.data++; encoded 1973 http/ngx_http_core_module.c if (encoded.len == 0) { encoded 1978 http/ngx_http_core_module.c auth.len = ngx_base64_decoded_length(encoded.len); encoded 1984 http/ngx_http_core_module.c if (ngx_decode_base64(&auth, &encoded) != NGX_OK) {