deno
9bf2c6fe - fix(upgrade): address checksum review feedback

Commit
114 days ago
fix(upgrade): address checksum review feedback - Emit checksum files with a trailing LF via a shared winSha256sum helper (Out-File -NoNewline + explicit `n). The previous Out-File default wrote CRLF, whose trailing \r GNU sha256sum -c folds into the filename, so the published files still could not be consumed by GNU-style readers. - Tighten the client parser (renamed parse_sha256sum -> parse_sha256sum_lenient to avoid the name collision with desktop.rs): only accept the leading GNU token or a Format-List 'Hash' label instead of any 64-hex token anywhere in the body, so an HTML/XML error page served with 200 no longer parses to a bogus hash and surfaces as a spurious checksum mismatch. - Fix swapped Expected/Actual labels in verify_checksum's error message. - Add a test asserting an embedded-hex body is rejected.
Author
Parents
Loading