github/hubot — pull request #273 by jimeh (2012-04-15 09:06:31+00:00)
Title: Two fixes to the new HEROKU_URL option

- When the `HEROKU_URL` environment variable was not set the keep alive code would still run trying to connect to: `undefined//hubot/ping`
- Keep-alive request path started with a slash, combined with the trailing slash check, this would create a keep-alive request to: `http://appname.herokuapp.com//hubot/ping`

I've tested these changes to ensure they work, and my own IRC bot is currently running off of the `heroku-url-fix` branch.

/cc @tombell