php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44916 wong status code
Submitted: 2008-05-05 13:13 UTC Modified: 2008-05-05 19:02 UTC
From: xuefer at gmail dot com Assigned: bjori (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2008-05-05 13:13 UTC] xuefer at gmail dot com
Description:
------------
request to http://cn.php.net/get/php-1.2.3-nts-Win32.zip/from/www.php.net/mirror should give 404 not found as it does not exists. with 404 status code, you can still generate a user friendly error message, just make sure it's more than 512 bytes (after compressed if enabled) so IE users can see it too

Reproduce code:
---------------
wget http://cn.php.net/get/php-1.2.3-nts-Win32.zip/from/www.php.net/mirror

Expected result:
----------------
404 Not Found

Actual result:
--------------
HTTP request sent, awaiting response... 200 OK
Length: 3,660 (3.6K) [text/html]


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-05 19:02 UTC] bjori@php.net
This bug has been fixed in CVS. Since the websites are not directly
updated from the CVS server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.

Thank you for the report, and for helping us make PHP.net better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 21:01:31 2024 UTC