joyent/node — pull request #7236 by Swaagie (2014-03-04 10:12:20+00:00)
Title: url: parse, replace % not part of urlencoded character

Check if % characters are part of an urlencoded char if not replace to prevent malformed uri errors from being thrown, fixes https://github.com/joyent/node/issues/7234

Will add tests in subsequent commit.