php.net |  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:
MUST BE VALID
Solve the problem:
6 + 44 = ?
Subscribe to this entry?

 
 [2004-02-06 13:37 UTC] php at cipri dot com
Description:
------------
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 :)

[1] http://pear.php.net/distributions/manual/pear_manual_en.tar.bz2


Reproduce code:
---------------
Download http://pear.php.net/distributions/manual/pear_manual_en.tar.bz2


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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-07 16:30 UTC] mj@php.net
Looks like application/octet-stream is the correct content type. I've changed the server configuration accordingly.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 15:01:29 2024 UTC