nemccarthy / stash-pullrequest-builder-plugin

A Jenkins plugin for Building Stash Pull Requests
https://wiki.jenkins-ci.org/display/JENKINS/Stash+pullrequest+builder+plugin
Other
64 stars 130 forks source link

Quote project name in isBuildTarget regexes #87

Closed superdave closed 8 years ago

superdave commented 8 years ago

The project name being inserted into the regex was not quoted for regex special characters (parens, brackets, etc.), so e.g. project names containing parens would break the match and would build every time the pull request was polled.