donatj / mock-webserver

Simple mock web server in PHP for unit testing.
MIT License
131 stars 21 forks source link

Escape script path #54

Closed donatj closed 1 year ago

donatj commented 1 year ago

If the path to vendor/ contains spaces, the script is incorrectly passed to the PHP server as two arguments. Thanks @SiestaCat

Fixes #53

donatj commented 1 year ago

Verified the fix works on my Windows laptop. 👍