Global validator SafeHtmlValidatorDefinition should accept HTML comment block (MGNLUI-7379)

[MGNLUI-7573] Make sure conditional comments are validated or not supported Created: 13/Oct/22  Updated: 13/Oct/22  Resolved: 13/Oct/22

Status: Completed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Neutral
Reporter: Roman Kovařík Assignee: Adam Siska
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Sprint: Nucleus 21
Team: Nucleus

 Description   

Conditional comments not supported since IE10 https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/compatibility/hh801214(v=vs.85)?redirectedfrom=MSDN

Vaadin supports only IE11

https://vaadin.com/download/release/8.15/8.15.0/release-notes.html

Conditional comments could be persisted now and page could be requested by old/unsupported browser (IE10-). Hence we need additional check for if/endif in the comment in order to not persist malicous code.


Generated at Mon Feb 12 09:47:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.