Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-271

Header name must not contain space

XMLWordPrintable

    • Hide

      Execute the following cli commands:

      /core-service=management/management-interface=http-interface:write-attribute(name=constant-headers, value=[{path=/management, headers=[{name=A B, value=abc}]}])
      
      reload
      

      See response headers:

      curl -v http://localhost:9990/management
      
      A B: abc
      
      Show
      Execute the following cli commands: /core-service=management/management- interface =http- interface :write-attribute(name=constant-headers, value=[{path=/management, headers=[{name=A B, value=abc}]}]) reload See response headers: curl -v http: //localhost:9990/management A B: abc

      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.

              darran.lofthouse@redhat.com Darran Lofthouse
              tterem@redhat.com Tomas Terem (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: