HTML_rule "content" property will contain HTML content.
HTML content could include double quotes, javascript, and other non-alphanumeric characters.
This needs to better handle HTML content.
Observe the following error response:
Example 1 fails.
Example 2 is literal Base64 in the HTML Rule content profile
Expected Behavior
HTML "content" property should handle said HTML content
HTML "content" should support base64 encoding/decoding.
This allows for javascript and other content that would typically include double quotes and other non-alphanumeric characters.
Actual Behavior
It is not possible to submit HTML content with quotes.
It is not possible to submit Javascript.
Base64 strings are placed literally into the Content HTML Profile rules.
Environment
Summary
HTML_rule "content" property will contain HTML content. HTML content could include double quotes, javascript, and other non-alphanumeric characters. This needs to better handle HTML content.
https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/refguide/schema-reference.html#html-rule
Steps To Reproduce
Steps to reproduce the behavior:
Submit the following object in a declaration: Example 1
OR Example 2
Observe the following error response: Example 1 fails. Example 2 is literal Base64 in the HTML Rule content profile
Expected Behavior
HTML "content" property should handle said HTML content HTML "content" should support base64 encoding/decoding. This allows for javascript and other content that would typically include double quotes and other non-alphanumeric characters.
Actual Behavior
It is not possible to submit HTML content with quotes. It is not possible to submit Javascript. Base64 strings are placed literally into the Content HTML Profile rules.