python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00400
[Bug 1605075] Re: Script contents should URL quoted
I believe this is fixed with change
https://review.openstack.org/#/c/407479/
** Changed in: python-jenkins
Status: New => Fix Committed
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1605075
Title:
Script contents should URL quoted
Status in Python Jenkins:
Fix Committed
Bug description:
def run_script(self, script):
return self.jenkins_open(Request(self._build_url(SCRIPT_TEXT),
"script=".encode('utf-8') + script.encode('utf-8')))
If script contains '&' symbol, the server receives split strings -- garbage.
The code should be URL quoted in the URL.
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1605075/+subscriptions
References