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

Headers should not be added if header name contains a colon

XMLWordPrintable

    • Hide

      Execute the following commands:

      /core-service=management/management-interface=http-interface:write-attribute(name=constant-headers, value=[{path=/management, headers=[{name=A:B, value=C}]}])
      
      reload
      
      Show
      Execute the following commands: /core-service=management/management- interface =http- interface :write-attribute(name=constant-headers, value=[{path=/management, headers=[{name=A:B, value=C}]}]) reload

      Execute:

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

      Response now has header 'A' with value 'B: C', but user wanted header 'A:B' with value 'C'. Colon can't be part of the header name, so users should be warned about it and no headers should be added.

            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: