Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[HtmlSanitizer] Add support for configuring the default action#57399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
fe8b477
tocf29db7
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM but please mind the remaining minor comments.
Anyone up to do the remaining steps in FramewoorkBundle?
Uh oh!
There was an error while loading.Please reload this page.
Remaining steps would be to make this configuration available through the semantic configuration ? I'd be happy to try it out. |
cf29db7
toa36fc54
CompareAlright I applied fixes for all feedback received. @Neirda24 yes it would be making sure one can specify a default action in the sanitizer config in FrameworkBundle. Great if you can do that thanks! |
…ck or allow unconfigured elements instead of dropping them
a36fc54
to4fd1c4c
CompareThank you@Seldaek. |
98f511e
intosymfony:7.2Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
The default action can be set to block or allow unconfigured elements instead of dropping them
Kinda replaces#49920 but it would need some work on the configuration handling side to allow configuring default actions. I am just using this as a library so I am not so keen on doing that part sorry but maybe@Neirda24 might want to take care of it if this PR gets accepted.