umbraco-doc-type-grid-editor
umbraco-doc-type-grid-editor copied to clipboard
Preview request fails OWASP CRS 3.1 request XXS 941150
When a block contains a rich text editor the following fire wall rule when enabled blocks the request.
https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/application-gateway-crs-rulegroups-rules?tabs=owasp31#crs941-31 (941150)
When comparing the request to PostSave I can see this is using a multipart/form-data content type instead of form encoding which the preview is using.
I am currently working on and testing a solution to this. Once have it working on my clients site Ill create a PR.
Thanks
Matt
Cool, thanks @Matthew-Wise !
Umbraco has defeated me! https://github.com/Matthew-Wise/umbraco-doc-type-grid-editor/tree/feature/owasp-941150
Was working fine and does but then sometimes it loses the media formatter.
I cant see why it does this and have spent a day on it. As I have client pressures am going to exclude the endpoint from the rule.