Properly filter double slashes "//" in urls