|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55979 bz2 links send wrong Content-Type
Submitted: 2004-02-06 13:37 UTC Modified: 2004-02-07 16:30 UTC
From: php at cipri dot com Assigned: mj (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
46 - 26 = ?
Subscribe to this entry?

 [2004-02-06 13:37 UTC] php at cipri dot com
Downloading the bz2 zipped version of the manual[1] sends a wrong HTTP header, which causes Internet Explorer to save the file as manual.tar.tar.
This is the wrong header that is send during this process is the.

Content-Type: application/x-tar

Ths .bz2 file is not a tar file at all, but a bz2 file :)


Reproduce code:

Expected result:
Have IE save the file as pear_manual_en.tar.bz2

Actual result:
IE saves the file as pear_manual_en.tar.tar


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-07 16:30 UTC]
Looks like application/octet-stream is the correct content type. I've changed the server configuration accordingly.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 03 05:01:30 2023 UTC