Commit 3b0d05d
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 4c4956e commit 3b0d05d
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
386 | 396 | | |
387 | 397 | | |
388 | 398 | | |
| |||
| 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