[PR #2331] [MERGED] fix: origin check failing when there is symbol in a query param #21166

Closed
opened 2026-04-15 20:10:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2331
Author: @Bekacru
Created: 4/17/2025
Status: Merged
Merged: 5/9/2025
Merged by: @Bekacru

Base: mainHead: fix/origin-check-email


📝 Commits (1)

  • 016419c fix: origin check failing when there is symbol in a query param

📊 Changes

2 files changed (+19 additions, -2 deletions)

View changed files

📝 packages/better-auth/src/api/middlewares/origin-check.test.ts (+15 -0)
📝 packages/better-auth/src/api/middlewares/origin-check.ts (+4 -2)

📄 Description

closes #2329


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/2331 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 4/17/2025 **Status:** ✅ Merged **Merged:** 5/9/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/origin-check-email` --- ### 📝 Commits (1) - [`016419c`](https://github.com/better-auth/better-auth/commit/016419ccf20612b97ca530c6369857717dc8d147) fix: origin check failing when there is symbol in a query param ### 📊 Changes **2 files changed** (+19 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/middlewares/origin-check.test.ts` (+15 -0) 📝 `packages/better-auth/src/api/middlewares/origin-check.ts` (+4 -2) </details> ### 📄 Description closes #2329 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 20:10:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#21166