Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21999

User-defined headers are added without a whitespace in web monitoring

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Won't fix
    • 6.0.11, 6.2.5
    • None
    • Proxy (P), Server (S)
    • None
    • Team A
    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
    • 0.125

    Description

      Coming from ZBX-21765

      Quoting https://www.rfc-editor.org/rfc/rfc7230.html

      Each header field consists of a case-insensitive field name followed
         by a colon (":"), optional leading whitespace, the field value, and
         optional trailing whitespace.

      So, while white space is optional since some web servers are unhappy with those I think it's nice to have it.

      Steps to reproduce:

      Create a web scenario step with user-defined headers on a web scenario or a step level.

      Result:

      Watch how the header is added:

      Header:value

      Expected:

      Header: value

      Attachments

        Activity

          People

            dimir dimir
            dimir dimir
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: