skip ./ and ../ at start of path (bb #954)

they are not accepted in the URL