php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10318 pathinfo causes network error
Submitted: 2001-04-13 13:46 UTC Modified: 2001-04-13 14:25 UTC
From: bmccarty at apu dot edu Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.4pl1 OS: RH Linux 6.2
Private report: No CVE-ID: None
 [2001-04-13 13:46 UTC] bmccarty at apu dot edu
Calling pathinfo() on a path that lacks a file extension causes PHP to screw up:

$info = pathinfo("/home/bill/bin/script");

The similar invocation works fine:

$info = pathinfo("/home/bill/bin/script.php");

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-13 14:25 UTC] thies@php.net
fixed in CVS and 4.0.5 branch


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 09:01:29 2024 UTC