url: treat \ the same as /
authorisaacs <i@izs.me>
Tue, 25 Mar 2014 21:16:55 +0000 (14:16 -0700)
committerTrevor Norris <trev.norris@gmail.com>
Wed, 7 May 2014 21:07:00 +0000 (14:07 -0700)
commitf7ede33f09187cd9b1874982e813380cd292ef17
tree3eeea54a7d267df2d9bac22dbb70ab8da271d88e
parent522dda2f12e2bc8cb1a83b4cc8d5c88020bb68b2
url: treat \ the same as /

See https://code.google.com/p/chromium/issues/detail?id=25916

Parse URLs with backslashes the same as web browsers, by replacing all
backslashes with forward slashes, except those that occur after the
first # character.

Manual rebase of 9520ade

Signed-off-by: Trevor Norris <trev.norris@gmail.com>
lib/url.js
test/simple/test-url.js