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

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

      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

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

              Created:
              Updated:
              Resolved: