Cleaning URLs such that double-slashes never appear.