nginxinc / nginx-ldap-auth

Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
686 stars 202 forks source link

Quoted-string Basic realm ctx according to rfc7235 #13

Closed ArfyFR closed 7 years ago

ArfyFR commented 7 years ago

Hi,

I faced some problems with 401 message and an Android client.

It yelded because in the WWW-Authenticate header the Basic ream= wasn't surrouned by ""

In the https://tools.ietf.org/html/rfc7235 it is written that

After my modification, the Android worked again (and iOs and PC clients faicing the 401 still worked ;) )

BR, Arfy