gitlabhq/gitlabhq — pull request #6708 by skv-headless (2014-04-06 15:46:02+00:00)
Title: Fix url generation error on hook invalid create

On creating project hook with invalid url I get this error
![j90isca](https://cloud.githubusercontent.com/assets/1488195/2625621/6e20130a-bda2-11e3-8ee4-02680819d189.png)