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

From: Date: Thu, 17 Sep 2020 10:40:24 +0000
Subject: Bug #80115 [Asn->Csd]: mysqlnd.debug doesn't recognize absolute paths with slashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229043@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: Closed Type: Bug Package: MySQLi related Operating System: Windows only PHP Version: 7.3.22 Assigned To: cmb Block user comment: N Private report: N New Comment: Automatic comment on behalf of cmbecker69@gmx.de Revision: http://git.php.net/?p=php-src.git;a=commit;h=efdbc3688bd9c72f3f4d7785ff491377366fe5f5 Log: Fix #80115: mysqlnd.debug doesn't recognize absolute paths with slashes 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 (#229043) next »