Skip to content

feat: move sanitize utils into shared pkg - #191

Merged
taran-a merged 2 commits into
mainfrom
feat/move-sanitize-utils-into-shared-pkg
Aug 25, 2026
Merged

feat: move sanitize utils into shared pkg#191
taran-a merged 2 commits into
mainfrom
feat/move-sanitize-utils-into-shared-pkg

Conversation

@taran-a

@taran-a taran-a commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Explanation

Move sanitizeControlCharacters and sanitizeUri utils into shared package.
Use these utils in snaps Tron, Solana, Stellar.
Solana's zsanitizeUriz uses ipfs: as allowed protocol so it becomes shared allow list.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

@taran-a
taran-a requested review from a team as code owners August 25, 2026 12:17
@taran-a
taran-a deployed to default-branch August 25, 2026 12:17 — with GitHub Actions Active
@taran-a
taran-a force-pushed the feat/move-sanitize-utils-into-shared-pkg branch from 987616a to ffe5e94 Compare August 25, 2026 12:39
Comment thread packages/stellar-wallet-snap/src/utils/buildUrl.ts

@stanleyyconsensys stanleyyconsensys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@taran-a
taran-a force-pushed the feat/move-sanitize-utils-into-shared-pkg branch from ffe5e94 to f798876 Compare August 25, 2026 14:22

@stanleyyconsensys stanleyyconsensys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@taran-a
taran-a added this pull request to the merge queue Aug 25, 2026
Merged via the queue into main with commit e6d1921 Aug 25, 2026
53 checks passed
@taran-a
taran-a deleted the feat/move-sanitize-utils-into-shared-pkg branch August 25, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants