Repository navigation
fix(browser): preserve Link header value delimiters - #805
Merged
N0zoM1z0 merged 1 commit intoOct 7, 2026
Merged
Conversation
Signed-off-by: Rudy Celekli <[email protected]>
N0zoM1z0
approved these changes
Oct 7, 2026
N0zoM1z0
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed head64bdae71c3. The delimiter scanner preserves commas within URI targets and semicolons/commas within quoted parameters, with correct quoted-pair escape parity. Entry splitting and parameter splitting reuse the same bounded scanner; metadata allowlisting, destination classification and untrusted-declaration authority remain intact. This remains the documented partial Link parser. Production build and all10 local metadata boundary tests passed; all20 hosted checks are green, including real-browser and package lanes. No blocking findings in this patch.
This was referenced Oct 7, 2026
Owner
|
Thanks, @rudycelekli, for your work on “fix(browser): preserve Link header value delimiters.” I appreciate your contribution to REA. |
darsrc
pushed a commit
to darsrc/rea
that referenced
this pull request
Oct 10, 2026
Signed-off-by: Rudy Celekli <[email protected]>
2 tasks done
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
Preserve Link header delimiters inside
<URI-reference>targets and quoted parameter values. A comma in a valid target currently drops that link; a semicolon in a quoted media type truncates the reported type. Use one scanner for entry and parameter boundaries, including quoted-pair escape parity.The metadata allowlist, origin classification and untrusted declarations remain unchanged. This is a delimiter correction, not a complete RFC 8288 parser or a change to discovery authorization.
Validation
CdpBrowserProvider.inspectPagecaptures real response events. A progress handshake triggers the HTTP fetch after observation starts. Both ordinary comma-target and quoted media-type cases fail before, pass after; the ordinary header control passes.npm run checkpasses (129 existing warnings, zero errors), andnpm run check:fastpasses.Native proof is macOS/system Chrome only; hosted CI is separate. An earlier unpublished local comma-only draft existed; this PR groups the entry and parameter delimiter class.
AI assistance was used for investigation, implementation and tests; I reviewed the change and native results.