Repository navigation
Conversation
…URITY gaps (anmolkapil#290 follow-up) - Item 15: expand holdUntil comment in httpTransfer.ts with probe boundary note - Item 23: README Troubleshooting — add taskbar progress section now that rc.15 ships it - Item 30: CONTRIBUTING.md — add npm run build:unpack to PR checklist - Item 46: ci.yml — note format check runs before e2e to catch early - Item 47: SECURITY.md — add direct advisory URL for reporters who miss the Security tab
Probe ranges (bytes=0-1023 for ETag check, bytes=1024-2047 for pCloud per-range detection) must not receive injected 503 Retry-After responses. When they do, the first real transfer requests land inside the one-second cooldown window and the existing assertion misidentifies them as early retries rather than legitimate chunks. Exclude isProbe() from the busy rule and assert probes never see status 503.
probeUrl is the first external call a download makes. A data: URL should fail there rather than later, when the result could be mistaken for a real link and start streams.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three small patches that keep the test surface tighter and make
documentation easier to follow:
1. Probe vs transfer boundary (PR #290)
Keep injected
Retry-Afterout of HTTP metadata probes so real chunkrequests are not mistaken for early retries. Adds one assertion that
probe requests never see status 503.
2.
data:URL rejection inprobeUrl(item 5)Add a smoke regression:
probeUrl('data:text/plain,...')must throwbefore any stream opens. This is where data: URLs were rejected before
the existing item 5 PR added its own data: path check.
3. Documentation notes (items 15, 23, 30, 46, 47)
Expand the
holdUntilcomment with probe boundaries; add a Windowstaskbar-progress note now that rc.15 ships it; add
npm run build:unpackto the PR checklist; note the direct advisory URL for security reporters.
All local smoke runs pass.