On 6/3/11, Boris Zbarsky <[email protected]> wrote: > On 6/3/11 11:46 AM, Bjartur Thorlacius wrote: >>> Note that some browsers will do weird parsing of the query params to >>> attempt to extract a "useful filename". That seems strictly worse than >>> just using Content-Disposition. >>> >> That's slightly better than just using the last non-empty path >> component, though. > > It's not, because they're not consistent about it... > Why need they be? This isn't Bittorrent. Use the last non-empty path component for a short name prone to accidental clashes, or the title for a verbose, unportable and descriptive name. It's purely a hint for user convenience (so they don't have to invent their own names or retype the title). What a file is named on a client's machine is purely the client's matter.
- Re: [whatwg] "Content-Disposition" propert... Dennis Joachimsthaler
- Re: [whatwg] "Content-Disposition" propert... Julian Reschke
- Re: [whatwg] "Content-Disposition" propert... Eduard Pascual
- Re: [whatwg] "Content-Disposition" propert... Boris Zbarsky
- Re: [whatwg] "Content-Disposition" propert... Eduard Pascual
- Re: [whatwg] "Content-Disposition" propert... Boris Zbarsky
- Re: [whatwg] "Content-Disposition" propert... Eduard Pascual
- Re: [whatwg] "Content-Disposition" propert... Boris Zbarsky
- Re: [whatwg] "Content-Disposition" propert... Bjartur Thorlacius
- Re: [whatwg] "Content-Disposition" propert... Boris Zbarsky
- Re: [whatwg] "Content-Disposition" propert... Bjartur Thorlacius
- Re: [whatwg] "Content-Disposition" propert... Boris Zbarsky
- Re: [whatwg] "Content-Disposition" propert... Bjartur Thorlacius
- Re: [whatwg] "Content-Disposition" propert... Boris Zbarsky
- Re: [whatwg] "Content-Disposition" propert... Bjartur Thorlacius
- Re: [whatwg] "Content-Disposition" propert... Julian Reschke
- Re: [whatwg] "Content-Disposition" propert... Kornel LesiĆski
- Re: [whatwg] "Content-Disposition" propert... Dennis Joachimsthaler
- Re: [whatwg] "Content-Disposition" propert... Eduard Pascual
