RegularExpressionProtection policy has inconsistent fault handling when uploading .xlsx and .pdf as multipart/form-data, the problem is regular expression protection policy is showing inconsistent behavior for same content between different .xlsx documents.
I have a spreadsheet which has 5 pages within it, due to one page content the regex policy is getting triggered, if I take the same content and paste it in a whole new spreadsheet regex policy does not complain.
Also when trying to upload .pdf files regex policy gets triggered. My understanding is the regex policy gets executed on actual text content sent in the POST body. In the .xlsx and .pdf files case it is all hexadecimal. Does the policy parses the hex and executes on the actual file content ? according to my testing that is also not the case.
Please let me know how does regex policy handle .xlsx and .pdf files?