joyent/node — pull request #4154 by coltrane (2012-10-16 22:21:06+00:00)
Title: url: make url.format escape delimiters in path and query

`url.format` should escape ? and # chars in pathname, and # chars in
search, because they change the semantics of the operation otherwise.
Don't escape % chars, or anything else.

This addresses #4082