Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
6.2.21
-
None
-
None
-
Empty show more show less
-
Yes
-
Yes
-
Nucleus 21
-
3
Description
Steps to reproduce
- Â Enable source mode for any Rich Text Field
- Â Put an HTML comment into "source" mode with some valid text and tags
- Save the component
.. Logs, screenshots, gifs...
Expected results
- Content save without any error
.. Justify non-trivial expectations with a link to a doc or a relevant discussion.
Actual results
- Users cannot save content, "Malicious HTML code found" validation error occurred.
Workaround
- Please ask users/customers to temporarily remove the comment(s) from your HTML by using any HTML editor / online editor tool for that.
Development notes
- N/A
Checklists
Acceptance criteria
Attachments
Issue Links
- caused by
-
MGNLUI-7285 richTextField HTML validation
-
- Selected
-
- is cloned by
-
MGNLUI-7570 Magnolia 6.3 - Global validator SafeHtmlValidatorDefinition does not accept HTML comment block
-
- Closed
-
1.
|
Provide Pr |
|
Completed | Sang Ngo Huu |
|
|||||||
2.
|
Review PR |
|
Completed | Quach Hao Thien | ||||||||
3.
|
Pre-int QA |
|
Completed | Quach Hao Thien | ||||||||
4.
|
QA |
|
Completed | Adam Siska | ||||||||
5.
|
Make sure conditional comments are validated or not supported |
|
Completed | Adam Siska | ||||||||
6.
|
Add check whether comment contains conditional if/endif |
|
Completed | Sang Ngo Huu |