Wed Aug 10 07:04:04 2005
Ticket #1383 (Closed: fixed)
Invalid path in admin directory gives no error
Priority: | normal | Reporter: | johnpye |
---|---|---|---|
Severity: | minor | Assigned to: | anonymous |
Component: | Admin Interface | Status: | closed |
Version: | 2.3.0 | Resolution: | fixed |
Milestone: | 2.3.1 | Keywords: |
Description by johnpye:
While building the RPM I noticed that in admin.php, line 80, there is a plain old die(); command that gives no explanation of what has occurred.
It should be changed to:
header("HTTP/1.1 404 Not found"); print("<h1>404 Not found</h1>\n"); die("The page ".$ADMIN_DIR."/".$call_script." could not be found");
or something like that.
Changelog
Wed Aug 10 14:01:05 2005: Modified by mugur
- resolution set to fixed
- status changed from new to closed