Skip to content

Commit

Permalink
fail on unsafe html (#3187)
Browse files Browse the repository at this point in the history
* fail on unsafe html

* a deliberately unsafe injection attempt

* Revert "a deliberately unsafe injection attempt"

This reverts commit 8052dc1.
  • Loading branch information
peterbe committed Mar 16, 2021
1 parent f1ad7bf commit dc07290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
# this to "*:error" which means the slightest flaw in the build
# will break the build.
# See https://github.com/mdn/yari/issues/715
export BUILD_FLAW_LEVELS="*:ignore"
export BUILD_FLAW_LEVELS="unsafe_html: error, *:ignore"
# Note, it might be interesting to explore building *some*
# pages in a PR build if the diff doesn't have any index.html
Expand Down

0 comments on commit dc07290

Please sign in to comment.