Commit ca195bf
committed
Join continued lines with nothing, as shell does
A backslash-newline is removed entirely in shell; it does not become
whitespace. Joining with a space split tokens that bash keeps together, so
`"https\` + `://host/pkg.tar.gz"` — one URL to bash, confirmed by sourcing it —
arrived at the extractor as `https ://host/pkg.tar.gz` and matched nothing.
Another download skipped silently.
Contrived to write by hand, but the joiner was approximating shell semantics
rather than following them, and that gap is what the check keeps getting caught
by. Ordinary continuations already carry whitespace around the backslash, so
nothing else changes.
Verified: real definitions pass, the split-scheme URL is now caught, and
continuations with digests still pass in all three forms.1 parent c689796 commit ca195bf
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
101 | 106 | | |
102 | 107 | | |
103 | 108 | | |
| |||
0 commit comments