rmyorston / busybox-w32

WIN32 native port of BusyBox.
https://frippery.org/busybox
Other
670 stars 124 forks source link

-X turns forward slashes in URLs in the parent's environment variables into backslashes, it should not #415

Closed doctorpangloss closed 3 months ago

doctorpangloss commented 3 months ago

sh -X should probably not turn all environment variable forward slashes into back slashes.

C:\Users\doctorpangloss>set TEST="http://hello.com"

C:\Users\doctorpangloss>echo %TEST%
"http://hello.com"

C:\Users\doctorpangloss>busybox sh -X
~ $ echo $TEST
"http:\\hello.com"

It should still be http://hello.com

rmyorston commented 3 months ago

Indeed, it shouldn't do that.

Try the latest prerelease (PRE-5342 or above).

doctorpangloss commented 3 months ago

resolved