COOK-5261 Added some formatting to prevent malformed URLs
Merge pull request #1396 from svanharmelen/CHEF-5261

CHEF-5261 Added some tests to prevent double slashes