> url.parse("http://host/path/some+thing%20with%20spaces+in+it/bar";, true);
{ protocol: 'http:',
  slashes: true,
  host: 'host',
  hostname: 'host',
  href: 'http://host/path/some+thing%20with%20spaces+in+it/bar',
  search: '',
  query: {},
  pathname: '/path/some+thing%20with%20spaces+in+it/bar',
  path: '/path/some+thing%20with%20spaces+in+it/bar' }

I kind of hoped it would set the path to '/path/some thing with spaces in
it/bar' which would be appropriate for passing to the filesystem. How come
it doesn't decode the path?

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to