Commit e30060e
Fix: Replace z.httpUrl() with z.url() for localhost compatibility
z.httpUrl() rejects localhost URLs, causing Zod validation errors
during local development when verifying email. z.url() still validates
URL structure while accepting localhost, and the existing
isExternalOrigin checks already handle redirect security.
Closes #241
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d83c4d0 commit e30060e
File tree
2 files changed
+2
-2
lines changed- src
- app/api/auth/confirm
- server/api/models
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments