Skip to content

Install URLs: <url>/X.zip?md5=<hex> checks the download against that md5 - #363

Open
kloptops wants to merge 1 commit into
PortsMaster:mainfrom
kloptops:install-md5-query
Open

kloptops wants to merge 1 commit into
PortsMaster:mainfrom
kloptops:install-md5-query

Conversation

@kloptops

Copy link
Copy Markdown
Member

One URL both fetches and verifies a zip, without a .md5 file next to it: harbourmaster install https://host/X.zip?md5=.... The md5 parameter is taken off the URL that's downloaded, other parameters are kept. A malformed md5 is refused before anything is downloaded; with a .md5 URL as well, the two have to agree.

Also: an upper case or tab separated .md5 file is accepted, and a URL with no file name in its path no longer raises IndexError.

One URL both fetches and verifies a zip, without a .md5 file next to it:
`harbourmaster install https://host/X.zip?md5=...`. The md5 parameter is
taken off the URL that's downloaded, other parameters are kept. A malformed
md5 is refused before anything is downloaded; with a .md5 URL as well, the
two have to agree.

Also: an upper case or tab separated .md5 file is accepted, and a URL with
no file name in its path no longer raises IndexError.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NxABmR1rUUgi4iicVLZchY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant