Invalid User-Agent header being sent to add-ons

XMLWordPrintable

    • Severity 3 - Minor

      Summary

      Jira Cloud is sending an invalid User-Agent header in HTTP requests to our add-on. The HTTP requests include the lifecycle events: Installed, Enabled; as well as other user-initiated requests and web hooks.

      User-Agent: Atlassian HttpClient unknown / JIRA-1001.0.0-SNAPSHOT (100059) / Default

      Steps to Reproduce

      1. Make an HTTP request. Can be encountered in lifecycle events.

      Expected Results

      Valid user-agent value

      Actual Results

      Illegal header: Illegal 'user-agent' header: Invalid input '/', expected WSP, CRLF, product-or-comment or 'EOI' (line 1, column 64): Atlassian HttpClient unknown / JIRA-1001.0.0-SNAPSHOT (100059) / Atlassian-Connect/1.3.238
      

      Notes

      It appears that the application server is choking on the second '/' in the `User-Agent` string.

            Assignee:
            Unassigned
            Reporter:
            David Pinn
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: