[php-src] Issue #15913: Possibly superfluous backslash in proc_open() escaping on Windows
| From: | cmb69 | Date: | Mon, 16 Sep 2024 10:43:10 +0000 |
| Subject: | [php-src] Issue #15913: Possibly superfluous backslash in proc_open() escaping on Windows | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247798@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/15913
Author: cmb69
### Description
The following code:
```php
<?php
proc_open(["test.bat", "\"¬epad.exe"], …);
```
passes
"test.bat" ^"\^"^¬epad.exe^" to
CreateProcess(). The backslash appears to be superfluous.
### PHP Version
PHP 8.2
### Operating System
Windows