Open
Description
I have an issue with generating an relative url where the current browsers url contains an empty folder:
history.pushState(null,'test','/a//c/d') // browser path: example.com/a//c/d
var uri = new URI('http://example.com/a').relativeTo(new URI()) // uri = "../../a"
history.pushState(null,'test2',uri.toString()) // browser path: example.com/a/a
The problem is that normalizePath
convert '/a//c/d'
to '/a/c/d'
. Maybe you can find a solution for me?