nagios-jenkins-plugin icon indicating copy to clipboard operation
nagios-jenkins-plugin copied to clipboard

Folders plugin causes problem due to URI Encoding

Open bitshop opened this issue 8 years ago • 0 comments

If I try to make a call with a job in the format of the API using the folders plugin it gets a 404 error.

This is due to the URL encoding changing the / into %2F

I'll do a pull request for the fix, but since I'm unsure if URL Encoding is needed or not I made this change:

$jobnameU = uri_escape($opts{j});
$jobnameU =~ s/%2F/\//g;

Thank you for the handy plugin,

Steve Radich BitShop.com

bitshop avatar Dec 23 '16 20:12 bitshop