Doesn't handle job names with spaces

Bug #1000799 reported by Kevin McDermott
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Python Jenkins
Fix Released
Undecided
Khai Do

Bug Description

Attempting to get call get_job_config('Test Job') will fail, because there's no url quoting.

Related branches

Revision history for this message
Jörgen Ader (jorgen-ader) wrote :

I had similar problem. Added patch with my solution.

Khai Do (zaro0508)
Changed in python-jenkins:
assignee: nobody → Khai Do (zaro0508)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-jenkins (master)

Fix proposed to branch: master
Review: https://review.openstack.org/138886

Changed in python-jenkins:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-jenkins (master)

Reviewed: https://review.openstack.org/138886
Committed: https://git.openstack.org/cgit/stackforge/python-jenkins/commit/?id=ebe1052b6067183837e05123cf0c96a08fe6a5c6
Submitter: Jenkins
Branch: master

commit ebe1052b6067183837e05123cf0c96a08fe6a5c6
Author: Khai Do <email address hidden>
Date: Wed Dec 3 14:39:45 2014 -0800

    Handle job and node names that contain spaces

    The current methods do not work for jobs and node that contain spaces in
    their names. This change adds quotes around the names in the jenkins
    URL so that Jenkins will be able to process the URL correctly.

    Closes-Bug: #1000799
    Closes-Bug: #1183958
    Change-Id: I86ac5aa8b2ff9b92ba240637f4a225978236e6db

Changed in python-jenkins:
status: In Progress → Fix Committed
Khai Do (zaro0508)
Changed in python-jenkins:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.