Fix handling of URLs containing :// in the path