Commit 70ce870
fix(api): validate slug format on project creation
Reject slugs with special characters, spaces, or path separators.
Only lowercase letters, digits, and hyphens allowed (^[a-z0-9-]+$).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 69e6985 commit 70ce870
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
0 commit comments