Commit 905d231
committed
admin: reject slash-bearing table names at create time (Codex P2)
handleDescribe and handleDelete already 404 on names containing '/',
so a user could create `foo/bar` and then never be able to manage
it through the admin surface — orphaned tables would only be
reachable via the SigV4 path, which is exactly the asymmetry Codex
flagged.
validateCreateTableRequest now rejects '/' before the request
reaches the source. Tests cover single-slash and multi-slash
names alongside the existing trailing-JSON / unknown-field cases.1 parent 35254da commit 905d231
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
392 | 402 | | |
393 | 403 | | |
394 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
| |||
440 | 439 | | |
441 | 440 | | |
442 | 441 | | |
| 442 | + | |
| 443 | + | |
443 | 444 | | |
444 | 445 | | |
445 | 446 | | |
| |||
0 commit comments