-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.2.10 DXP FP8, 7.2.10.3 DXP SP3, 7.2.X, 7.3.0 CE GA1, 7.3.10 DXP GA1, Master
-
Component/s: Forms
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Sprint:Forms_7.3_16
-
Git Pull Request:
Summary:
Forms is crashing when trying to save an empty form (with no fields) by the first time with </script> tag in the title.
Steps to reproduce:
- Go to Content > Forms;
- Click to add a New Form;
- Type the following content in the title: "<script> my title </script>";
- Try to save the form.
Expected result:
The form should not be saved and a message should be shown informing to the user to add at least one field in order to save the form.
Actual result:
Forms is crashing when trying to save an empty form (with no fields) by the first time with </script> tag in the title.
Notes:
- After adding a field, or if the user add a field before saving the form containing the </script> tag in the title, it is properly saved.
- If the user tries to save the Form with others tags in the title, the form is properly saved.
Reproducible In:
master: cb86f281f9df4768a47fa0d489c18e9f2085d573
Updated on: Tue Apr 23 22:52:56 2019 -0700
7.2.x
Commit: 1c36a57c64cae694f871a33acb571fbb97799e1a
Base Branch Commit: 3ad9ee1a8265f761e6126361fbe65ce2689b9b0e
Updated on: Wed Apr 24 15:47:20 2019 -0700