Thijs, Well, if we do this, you'll get it with the spaces converted to %20. It'll be up to you to call decodeURIComponent on it.
Spaces are actually not allowed in URLs, after all. On Tue, May 15, 2012 at 3:30 PM, Thijs Koerselman <[email protected]> wrote: > On Tue, May 15, 2012 at 8:08 PM, Isaac Schlueter <[email protected]> wrote: >> The URL parser doesn't parse spaces. >> >> It would be good to maybe discuss this, as it's a common complaint. >> >> Let's discuss it in this issue: https://github.com/joyent/node/issues/3270 >> > > Thanks Isaac. That discussion makes it clear. I'm all for. I will just > escape the spaces myself for now but it would be great if this is > handled in url.parse. I would like to be able to retrieve the filename > from the parsed data as it is, with spaces and all. > > Cheers, > Thijs > > -- > 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 -- 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
