Bug #80115 [Asn->Opn]: mysqlnd.debug doesn't recognize absolute paths with slashes

From: Date: Thu, 17 Sep 2020 10:00:15 +0000
Subject: Bug #80115 [Asn->Opn]: mysqlnd.debug doesn't recognize absolute paths with slashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229041@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80115&edit=1 ID: 80115 Updated by: cmb@php.net Reported by: cmb@php.net Summary: mysqlnd.debug doesn't recognize absolute paths with slashes -Status: Assigned +Status: Open Type: Bug Package: MySQLi related Operating System: Windows only PHP Version: 7.3.22 Assigned To: cmb Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2020-09-17 09:59:36] cmb@php.net Description: ------------ On Windows, if a log filename given to mysqlnd.debug has a slash after the drive, it is not recognized as absolute path, but rather as a relative path consisting only of the drive letter. Test script: --------------- mysqlnd.debug=t:O,C:/trace.log Expected result: ---------------- traces written to C:/trace.log Actual result: -------------- traces written to C ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80115&edit=1

« previous php.bugs (#229041) next »