I found following two corner cases that do not seem to be handled correctly by normalizePath():
>URI('/.//').normalizePath().toString()
'//'
>URI('/foo/..').normalizePath().toString()
'/foo/..'
I can try to write a fix, if you agree that these two should both produce /