summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorwangxiyuan <wangxiyuan@huawei.com>2018-04-10 14:40:13 +0800
committerwangxiyuan <wangxiyuan@huawei.com>2018-04-12 12:05:38 +0800
commita78a25ea23a940fcc510226a2dd33731d81fb213 (patch)
treeda36b8d867e2fab98405123ef8314a1522b3dbd3 /releasenotes
parentf71642b1f0c432cb575912bed8e43013ce616ad9 (diff)
downloadkeystonemiddleware-a78a25ea23a940fcc510226a2dd33731d81fb213.tar.gz
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
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/bug-1762362-3d092b15c7bab3a4.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/bug-1762362-3d092b15c7bab3a4.yaml b/releasenotes/notes/bug-1762362-3d092b15c7bab3a4.yaml
new file mode 100644
index 0000000..16deea3
--- /dev/null
+++ b/releasenotes/notes/bug-1762362-3d092b15c7bab3a4.yaml
@@ -0,0 +1,6 @@
+---
+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.