Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15744

Whitespace at the end of input fields leads to bogus file upload

    XMLWordPrintable

Details

    Description

      when giving strings with whitespaces at the end for project-id, SUT-ID or test env, the upload to klaros failes with invalid request.

      improvement would be to just make a trim on each string.

      Attachments

        Activity

          stolp stolp added a comment -

          Thanks for submitting.

          stolp stolp added a comment - Thanks for submitting.

          Code changed in jenkins
          User: stolp
          Path:
          src/main/java/hudson/plugins/klaros/KlarosTestResultPublisher.java
          http://jenkins-ci.org/commit/klaros-testmanagement-plugin/2cc8ccb129d959fbeced37a2bc3ebd24b0b41193
          Log:
          This fixes JENKINS-15744 (Whitespaces at the end of input fields leads to bogus file upload).

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: stolp Path: src/main/java/hudson/plugins/klaros/KlarosTestResultPublisher.java http://jenkins-ci.org/commit/klaros-testmanagement-plugin/2cc8ccb129d959fbeced37a2bc3ebd24b0b41193 Log: This fixes JENKINS-15744 (Whitespaces at the end of input fields leads to bogus file upload).

          People

            stolp stolp
            mheinemann Martin Heinemann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: