Skip to content

fix: catch dot segments hidden behind backslashes and whitespace - #1174

Merged
dielduarte merged 1 commit into
canaryfrom
sync/dot-segment-fix-to-canary
Oct 30, 2026
Merged

dielduarte merged 1 commit into
canaryfrom
sync/dot-segment-fix-to-canary

Conversation

@dielduarte

@dielduarte dielduarte commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

#1168 was merged into main instead of canary. This brings the same change to canary. The version bump is left out; #1167 bumps canary to 6.37.0.


Summary by cubic

Brings the dot-segment detection fix from #1168 into canary, without the version bump (#1167 handles that). The fix catches dot segments hidden behind backslashes and trailing whitespace, which URL parsers resolve and could otherwise reach unintended paths.

Written for commit 1bb12d7. Summary will update on new commits.

View guided diff

@dielduarte
dielduarte requested a review from a team as a code owner October 30, 2026 22:05
@dielduarte
dielduarte requested a review from a-carciu October 30, 2026 22:05
@pkg-pr-new

pkg-pr-new Bot commented Oct 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/resend@1174

commit: 1bb12d7

@klotty klotty left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Focused security fix backported to canary: hasDotSegment now blocks dot segments hidden by backslashes or URL-ignored whitespace; tests pin the corrected behavior, and no API or operational policy changes accompany it.

View guided diff | Re-trigger cubic

@dielduarte
dielduarte merged commit 5c4035f into canary Oct 30, 2026
12 of 13 checks passed
@dielduarte
dielduarte deleted the sync/dot-segment-fix-to-canary branch October 30, 2026 22:13
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.

3 participants