[
https://issues.jboss.org/browse/WFWIP-271?page=com.atlassian.jira.plugin....
]
Tomas Terem updated WFWIP-271:
------------------------------
Steps to Reproduce:
Execute the following cli commands:
{code:java}
/core-service=management/management-interface=http-interface:write-attribute(name=constant-headers,
value=[{path=/management, headers=[{name=A B, value=abc}]}])
{code}
{code:java}
reload
{code}
See response headers:
{code:java}
curl -v
http://localhost:9990/management
{code}
{code:java}
A B: abc
{code}
was:
Execute the following cli command:
{code:java}
/core-service=management/management-interface=http-interface:write-attribute(name=constant-headers,
value=[{path=/management, headers=[{name=A B, value=abc}]}])
{code}
See response headers:
{code:java}
curl -v
http://localhost:9990/management
{code}
{code:java}
A B: abc
{code}
Header name must not contain space
----------------------------------
Key: WFWIP-271
URL:
https://issues.jboss.org/browse/WFWIP-271
Project: WildFly WIP
Issue Type: Bug
Reporter: Tomas Terem
Assignee: Darran Lofthouse
Priority: Blocker
Labels: management
Constant-headers allows to configure header name containing space, which shouldn't be
possible according to
https://tools.ietf.org/html/rfc5322#section-2.2
A field name MUST be composed of printable US-ASCII characters (i.e.,characters that have
values between 33 and 126, inclusive), except colon.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)