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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 11:01:28 2024 UTC