Fix the combineUrl function

* Allow a url to omit the protocol and use the same protocol as the
* current page
Merge pull request #4357 from d3x7r0/master

Allow a url to omit the protocol