tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Content-disposition for file downlaod with Mozilla/Firefox
Date Mon, 15 Nov 2004 23:54:14 GMT
Its not a bug.

https://bugzilla.mozilla.org/show_bug.cgi?id=221028

-Tim

David Wall wrote:
> The following are headers we send out for a given file that is being
> downloaded:
> 
> Content-Length: 28160
> content-disposition: attachment;filename=Some Agreement 2004-11-15.doc
> Content-Type: application/octet-stream
> 
> I believe this used to work fine with Mozilla in an earlier version.  I'm
> running Mozilla 1.7.3 and Firefox 1.0, but it doesn't work on them.   It
> works just fine on Opera 7.11, IE 6, and Netscape 7.1.
> 
> On Mozilla/Firefox, it is stopping at the space in the header, so it thinks
> the filename is just "Some" rather "Some Agreement 2004-11-15.doc".  My
> impression is that HTTP headers are allowed to contain spaces and it's only
> a newline that should end the value of a header.  Is this something I need
> to concern myself with from the web application side, or is this just a bug
> with Mozilla/Firefox?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message