php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56092 Downloading a non-existant release gives HTTP 200 OK instead of 404 Not found
Submitted: 2004-06-10 10:03 UTC Modified: 2004-06-16 22:44 UTC
From: pear dot neufeind at speedpartner dot de Assigned: danielc (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pear dot neufeind at speedpartner dot de
New email:
PHP Version: OS:

 

 [2004-06-10 10:03 UTC] pear dot neufeind at speedpartner dot de
Description:
------------
Downloading a non-existant release gives HTTP 200 OK instead of 404 Not found

Reproduce code:
---------------
e.g. http://pear.php.net/get/HTTP-1.3.0RC2.tgz
At the time of writing this that release doesn't exist. 

Expected result:
----------------
However, the server answers with a HTTP-response-code of 200 (OK) and starts sending a zero-byte file.

Actual result:
--------------
Maybe a 404 Not found could be returned instead?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-16 22:44 UTC] danielc at analysisandsolutions dot com
Fixed last Thursday.  (version 1.199 of pear-database.php)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 11:01:29 2025 UTC