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

          mheinemann Martin Heinemann created issue -
          mheinemann Martin Heinemann made changes -
          Field Original Value New Value
          Summary Whitespaces at the end of input fields let to bogus file upload Whitespaces at the end of input fields leads to bogus file upload
          stolp stolp made changes -
          Assignee stolp [ stolp ]
          stolp stolp made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          stolp stolp made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          stolp stolp added a comment -

          Thanks for submitting.

          stolp stolp added a comment - Thanks for submitting.
          stolp stolp made changes -
          Summary Whitespaces at the end of input fields leads to bogus file upload Whitespace at the end of input fields leads to bogus file upload
          stolp stolp made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          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).
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 146545 ] JNJira + In-Review [ 206241 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: