pksunkara_: see how they all handle these funky urls, and write reasonable tests in test/simple/test-url.js for each unique case.