fix(embeds): address Phase 38 review findings across registry, Blog Editor, and docs
This commit is contained in:
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user