fix(embeds): address Phase 38 review findings across registry, Blog Editor, and docs

This commit is contained in:
Jakub Zych
2026-11-28 13:13:09 +01:00
parent 3fc656da0f
commit a047d4284f
9 changed files with 69 additions and 37 deletions

View File

@@ -127,6 +127,8 @@ journal:
}{
{"path traversal key", EmbedProvider{Key: "../x", IDPattern: `^[a-z]+$`}, "../x"},
{"uppercase key", EmbedProvider{Key: "YouTube", IDPattern: `^[a-z]+$`}, "YouTube"},
{"reserved constructor key", EmbedProvider{Key: "constructor", IDPattern: `^[a-z]+$`}, "constructor"},
{"reserved prototype key", EmbedProvider{Key: "prototype", IDPattern: `^[a-z]+$`}, "prototype"},
{"empty key", EmbedProvider{Key: "", IDPattern: `^[a-z]+$`}, `""`},
{"missing pattern", EmbedProvider{Key: "viz", IDPattern: ""}, "viz"},
{"invalid regex", EmbedProvider{Key: "viz", IDPattern: `[unclosed`}, "viz"},