php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80115 mysqlnd.debug doesn't recognize absolute paths with slashes
Submitted: 2020-09-17 09:59 UTC Modified: 2020-09-17 09:59 UTC
From: cmb@php.net Assigned: cmb (profile)
Status: Closed Package: MySQLi related
PHP Version: 7.3.22 OS: Windows only
Private report: No CVE-ID: None
 [2020-09-17 09:59 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-17 09:59 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2020-09-17 10:00 UTC] cmb@php.net
-Status: Assigned +Status: Open
 [2020-09-17 10:40 UTC] cmb@php.net
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
 [2020-09-17 10:40 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC