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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Wed Apr 21 19:01:23 2021 UTC