enonic / app-contentstudio

Content Studio of Enonic XP
GNU General Public License v3.0
10 stars 4 forks source link

Text component name should be sanitised #1455

Closed sgauruseu closed 4 years ago

sgauruseu commented 4 years ago

Case 1

  1. Open Features , insert new text component
  2. Insert a macro in the text component and save the site.

Expected: html code should be sanitized in that name

image

500 Error appears after the text component Saved as fragment

image

Case 2:

  1. Open Features , insert new text component
  2. Insert a table in the text component and save the site.
  3. Save the text component as Fragment

Bug;:

a) empty display name is in new tab wizard:

image

b) Incorrect validation - this content should be invalid.

image

ashklianko commented 4 years ago

Issue moved to enonic/xp #8120 via ZenHub

alansemenov commented 4 years ago

Duplicate of https://github.com/enonic/app-contentstudio/issues/1172