github/hubot-scripts — pull request #517 by rafacv (2012-08-01 15:54:29+00:00)
Title: [Janky] Request from campfire to run a project in Jenkins fails

Janky is returning a 400 (Bad Request) error at times when a request for a new
build is made. Those errors are due to whitespaces that are being used in user's
names for campfire and possibly another chat engines.

The output I got in campfire is
`Can't go HAM on $repo/$branch, shit's being weird.`
which is triggered by [janky.coffee, line 87](https://github.com/github/hubot-scripts/blob/master/src/scripts/janky.coffee#L87).

Replacement of all spaces for plus signs "+" in user's names makes the URL that
is being posted to from hubot's janky script compliant to the specification [1]
and solves the issue.

[1] http://www.w3.org/Addressing/URL/url-spec.txt