[Tickets #4912] Re: normally downloaded/zipped attachments have two extra lines at the beginning

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Jan 17 13:01:12 PST 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4912
-----------------------------------------------------------------------
 Ticket             | 4912
 Updated By         | kajtzu at basen.net
 Summary            | normally downloaded/zipped attachments have two extra lines at the
                    | beginning
 Queue              | IMP
 Version            | 4.1.3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


kajtzu at basen.net (2007-01-17 13:01) wrote:

With LiveHTTPHeaders in FF 2.0.1 the request is as follows:

https://www.bnsvcs.net/horde/services/download/?module=imp&thismailbox=INBOX&index=38&mailbox=INBOX&actionID=download_attach&id=2&mimecache=5e5fd7d3aaa757960ca052aebe5f12ec&fn=%2FHoorde-2.png

GET
/horde/services/download/?module=imp&thismailbox=INBOX&index=38&mailbox=INBOX&actionID=download_attach&id=2&mimecache=5e5fd7d3aaa757960ca052aebe5f12ec&fn=%2FHoorde-2.png
HTTP/1.1
Host: www.bnsvcs.net
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.1)
Gecko/20061204 Firefox/2.0.0.1
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: horde_sidebar_expanded=true; Horde=k6dsneac539f3u3fpc3qf30jn3;
auth_key=6e2b7abcdd9f15b17022a1b6eac4f815;
imp_key=5b74886d19bd9d9995d2cb920c5dc5d1

HTTP/1.x 200 OK
Date: Wed, 17 Jan 2007 20:53:32 GMT
Server: Apache
X-Powered-By: PHP/5.2.0
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
content-disposition: attachment; filename="Hoorde-2.png"
Content-Length: 175266
Connection: close
Content-Type: image/png
----------------------------------------------------------

But the file downloaded is actually 175268 (+2 bytes) long.

Another file is 93118 bytes long but when downloaded through IMP 93120
(again +2 bytes).






More information about the bugs mailing list