joyent/node — Issue #2736: url.parse doesn't decode auth field
Author: natevw
Created: 2012-02-11 01:06:43+00:00
State: open

Shouldn't the url.parse function decode the auth portion of a URL? I'd have expected the following to be true:

require('url').parse("http//either%2for@example").auth === "either/or"

Another user has also requested this via a comment on the somewhat separate issue #1163: https://github.com/joyent/node/issues/1163#issuecomment-2493347