[php-src] Issue #8095: dirname() produces invalid root path

From: Date: Mon, 14 Feb 2022 14:07:57 +0000
Subject: [php-src] Issue #8095: dirname() produces invalid root path
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239773@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8095 Comment Author: bwoebi This is not a bug. dirname() is explicitely for paths, not uniform resource locators or identifiers. A double slash in a path is simply simplified to a single slash. And, under Linux at least, a colon is a valid part of a path (though it is used as a path separator in some contexts, you can have a directory named file:.

« previous php.bugs (#239773) next »