Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP header WWW-Authenticate realm should be double-quoted #207

Open
tstrg opened this issue Jun 5, 2019 · 0 comments
Open

HTTP header WWW-Authenticate realm should be double-quoted #207

tstrg opened this issue Jun 5, 2019 · 0 comments

Comments

@tstrg
Copy link

tstrg commented Jun 5, 2019

HTTP header WWW-Authenticate realm should be double-quoted to be valid.

The example
Realm: "test zone"
should be changed to
Realm: "\"test zone\"",

For reference see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate (includes links to RFCs)

https://tools.ietf.org/html/rfc7235#section-5.1.2 mentions the fact that the value syntax for the "realm" parameter is restricted to quoted-string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant