Fixes double slashes that may occure in url requests which would cause issues