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

Header name must not contain space

    XMLWordPrintable

Details

    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: