Commit dec35ec
committed
Fix Windows path escaping in dotenv fixtures
Escape backslashes when writing Windows paths to double-quoted .env values.
The parse_dotenv function interprets \r, \t, etc. as escape sequences,
so paths like C:\Users\runneradmin become corrupted when unescaped.1 parent 6e23849 commit dec35ec
2 files changed
Lines changed: 3 additions & 2 deletions
File tree
- crates
- socket-patch-cli/tests
- socket-patch-core/src/crawlers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
| 692 | + | |
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3545 | 3545 | | |
3546 | 3546 | | |
3547 | 3547 | | |
| 3548 | + | |
3548 | 3549 | | |
3549 | 3550 | | |
3550 | | - | |
| 3551 | + | |
3551 | 3552 | | |
3552 | 3553 | | |
3553 | 3554 | | |
| |||
0 commit comments