trunk svn revision 13367 - Can't download attachments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul, list:

     With the latest update of 1.5 svn to revision 13367, I can no longer
download attachments. Specifically, when trying to download or view
attachments, such as the pdf files shown in the screenshot:

http://www.3111skyline.com/download/screenshots/sqmail/pdf-will-not-download.jpg

    nothing happens. 0 bytes are transferred. Looking at the transfer log in
opera, it looks like the following command was executed:

http://www.3111skyline.com/squirrelmail/src/download.php?absolute_dl=true&passed_id=2375&mailbox=INBOX&ent_id=3


    However, nothing is transferred. With outlook/OLexpress, a 0 byte file
containing the filename of the file to be downloaded is created. Linux is smart
enough not to create any file at all.

    How do we fix this? What additional information can I send?

    I grabbed a couple of packets, which I'm not the best at reading, but it
looks like the GET is sent twice with a '200' response each time and then it
just quits. The tcpdump packets look like this:

Transmission Control Protocol, Src Port: 46407 (46407), Dst Port: http (80),
Seq: 1, Ack: 1, Len: 697
Hypertext Transfer Protocol
    GET
/squirrelmail/src/download.php?absolute_dl=true&passed_id=2375&mailbox=INBOX&ent_id=3
HTTP/1.1\r\n
        Request Method: GET
        Request URI:
/squirrelmail/src/download.php?absolute_dl=true&passed_id=2375&mailbox=INBOX&ent_id=3

        Request Version: HTTP/1.1
    User-Agent: Opera/9.62 (X11; Linux x86_64; U; en) Presto/2.1.1\r\n
    Host: www.3111skyline.com\r\n
    Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png,
image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1\r\n
    Accept-Language: en-US,en;q=0.9\r\n
    Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1\r\n
    Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0\r\n
    Cookie: key=kkQljelM; squirrelmail_language=deleted;
SQMSESSID=kohai8lqh2rlvsitvu106ljdtl5seb8c; last_loginid=*******;
last_domain=default\r\n
    Cookie2: $Version=1\r\n
    Connection: Keep-Alive, TE\r\n
    TE: deflate, gzip, chunked, identity, trailers\r\n
    \r\n

Hypertext Transfer Protocol
    HTTP/1.1 200 OK\r\n
        Request Version: HTTP/1.1
        Response Code: 200
    Date: Wed, 17 Dec 2008 17:45:59 GMT\r\n
    Server: Apache/2.2.4 (Linux/SUSE)\r\n
    X-Powered-By: PHP/5.2.6\r\n
    Expires: Thu, 19 Nov 1981 08:52:00 GMT\r\n
    Cache-Control: cache\r\n
    Pragma: \r\n
    Set-Cookie: SQMSESSID=kohai8lqh2rlvsitvu106ljdtl5seb8c;
path=/squirrelmail/; HttpOnly\r\n
    Set-Cookie: SQMSESSID=kohai8lqh2rlvsitvu106ljdtl5seb8c;
path=/squirrelmail/; HttpOnly\r\n
    Set-Cookie: squirrelmail_language=deleted; expires=Fri, 16-Jan-2009
17:45:59 GMT; path=/squirrelmail/; HttpOnly\r\n
    Set-Cookie: SQMSESSID=kohai8lqh2rlvsitvu106ljdtl5seb8c;
path=/squirrelmail/; HttpOnly\r\n
    Content-Disposition: attachment; filename="php_IBM-Ajax-with-PHP.pdf"\r\n
    Content-Length: 0
    Keep-Alive: timeout=15, max=100\r\n
    Connection: Keep-Alive\r\n
    Content-Type: application/octet-stream; name="php_IBM-Ajax-with-PHP.pdf"\r\n
    \r\n

Hypertext Transfer Protocol
    GET
/squirrelmail/src/download.php?startMessage=1&passed_id=2375&mailbox=INBOX&ent_id=2&passed_ent_id=0
HTTP/1.1\r\n
        Request Method: GET
        Request URI:
/squirrelmail/src/download.php?startMessage=1&passed_id=2375&mailbox=INBOX&ent_id=2&passed_ent_id=0

        Request Version: HTTP/1.1
    User-Agent: Opera/9.62 (X11; Linux x86_64; U; en) Presto/2.1.1\r\n
    Host: www.3111skyline.com\r\n
    Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png,
image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1\r\n
    Accept-Language: en-US,en;q=0.9\r\n
    Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1\r\n
    Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0\r\n
    Cookie: key=kkQljelM; squirrelmail_language=deleted;
SQMSESSID=kohai8lqh2rlvsitvu106ljdtl5seb8c; last_loginid=*******;
last_domain=default\r\n
    Cookie2: $Version=1\r\n
    Connection: Keep-Alive, TE\r\n
    TE: deflate, gzip, chunked, identity, trailers\r\n
    \r\n

Hypertext Transfer Protocol
    HTTP/1.1 200 OK\r\n
        Request Version: HTTP/1.1
        Response Code: 200
    Date: Wed, 17 Dec 2008 17:46:10 GMT\r\n
    Server: Apache/2.2.4 (Linux/SUSE)\r\n
    X-Powered-By: PHP/5.2.6\r\n
    Expires: Thu, 19 Nov 1981 08:52:00 GMT\r\n
    Cache-Control: cache\r\n
    Pragma: \r\n
    Set-Cookie: SQMSESSID=kohai8lqh2rlvsitvu106ljdtl5seb8c;
path=/squirrelmail/; HttpOnly\r\n
    Set-Cookie: SQMSESSID=kohai8lqh2rlvsitvu106ljdtl5seb8c;
path=/squirrelmail/; HttpOnly\r\n
    Set-Cookie: squirrelmail_language=deleted; expires=Fri, 16-Jan-2009
17:46:10 GMT; path=/squirrelmail/; HttpOnly\r\n
    Set-Cookie: SQMSESSID=kohai8lqh2rlvsitvu106ljdtl5seb8c;
path=/squirrelmail/; HttpOnly\r\n
    Content-Disposition: inline; filename="php_IBM-Ajax-auto-Controls.pdf"\r\n
    Content-Length: 0
    Keep-Alive: timeout=15, max=99\r\n
    Connection: Keep-Alive\r\n
    Content-Type: application/pdf; name="php_IBM-Ajax-auto-Controls.pdf"\r\n
    \r\n

    Let me know what else I can send/post or do to help nail this problem down.
Thanks.

--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
-- 
David C. Rankin, J.D.,P.E.      |          openSoftware und SystemEntwicklung
Rankin Law Firm, PLLC           |             Countdown for openSuSE 11.1
www.rankinlawfirm.com           |        http://counter.opensuse.org/11.1/small

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux