Skip to content

Commit fc57fe2

Browse files
authored
Merge pull request #2 from nowo-tech/security/recipe-prod-sanitize
fix(security): enable HTML allowlist sanitizer in prod recipe
2 parents d035cd4 + 54dafa6 commit fc57fe2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.symfony/recipe/nowo-tech/blog-kit-bundle/1.0/config/packages/nowo_blog_kit.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,9 @@ nowo_blog_kit:
3838
strategy: none
3939
doctrine:
4040
table_prefix: ''
41+
42+
when@prod:
43+
nowo_blog_kit:
44+
html:
45+
sanitize:
46+
strategy: allowlist

0 commit comments

Comments
 (0)