keystonemiddleware/releasenotes/notes/bug-1762362-3d092b15c7bab3a4.yaml
wangxiyuan a78a25ea23 Double quote www_authenticate_uri
Based on the RFCs[1], in http header, a string of text is parsed
as a single value if it is quoted using double-quote marks.

This patch change the single quote to double quote in the header
"WWW-Authenticate" which is returned when 401 error raises.

[1]: https://tools.ietf.org/html/rfc7230#section-3.2.6
     https://tools.ietf.org/html/rfc7235#section-2.1

Change-Id: I524c93d30607ea6ab70de92ceea207ee77f34c25
Closes-bug: #1762362
2018-04-12 12:05:38 +08:00

7 lines
238 B
YAML

---
features:
- >
[`bug 1762362 <https://bugs.launchpad.net/keystonemiddleware/+bug/1762362>`_]
The value of the header "WWW-Authenticate" in a 401 (Unauthorized) response
now is double quoted to follow the RFC requirement.