Message248967
Here's a change that might fix the trailing backslash problem for now without breaking anything. libpath-fix.patch only affects arguments that we know are paths. This happens before anything is quoted.
This avoids the problem when something like 'C:\path with space\trailing backslash\' is passed to _nt_quote_args() and becomes '"C:\path with space\trailing backslash\"'. The " is escaped which mangles the string.
I'm not sure if it's the responsibility of the user to not pass in such arguments, or of cpython to sanitize these things. Is this change harmless, or can you think of situations where it will break something? |
|
Date |
User |
Action |
Args |
2015-08-21 17:54:27 | christopher.hogan | set | recipients:
+ christopher.hogan, barry, brett.cannon, jaraco, ncoghlan, tarek, eric.araujo, mgiuca, r.david.murray, BreamoreBoy, zach.ware, steve.dower, dstufft |
2015-08-21 17:54:26 | christopher.hogan | set | messageid: <1440179666.98.0.956422465857.issue8987@psf.upfronthosting.co.za> |
2015-08-21 17:54:26 | christopher.hogan | link | issue8987 messages |
2015-08-21 17:54:26 | christopher.hogan | create | |
|