mirror of
https://github.com/php/php-src.git
synced 2026-04-05 23:23:03 +02:00
On Windows the built-in webserver doesn't prevent directory traversal when backslashes are used as path component separators. Even though that is not a security issue (the CLI webserver is meant for testing only), we fix that by replacing backslashes in the path with slashes on Windows, because backslashes may be valid characters for file names on other systems, but not on Windows.
73 KiB
73 KiB