Skip to content

Commit b29d0fb

Browse files
committed
MC-11438: There is no XSS vulnerability if Create Order with sample email
Resolved conflicts
1 parent 1d2b8f2 commit b29d0fb

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

app/code/Magento/Customer/Test/Mftf/Data/CustomerData.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,4 +294,14 @@
294294
<data key="store_id">0</data>
295295
<data key="website_id">0</data>
296296
</entity>
297+
<entity name="John_Smith_Customer" type="customer">
298+
<data key="group_id">1</data>
299+
<data key="email" unique="prefix">[email protected]</data>
300+
<data key="firstname">John</data>
301+
<data key="lastname">Smith</data>
302+
<data key="fullname">John Smith</data>
303+
<data key="password">pwdTest123!</data>
304+
<data key="store_id">0</data>
305+
<data key="website_id">0</data>
306+
</entity>
297307
</entities>

app/code/Magento/Sales/Test/Mftf/Section/AdminOrderFormAccountSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
<element name="defaultGeneral" type="text" selector="//*[contains(text(),'General')]" timeout="15"/>
1717
<element name="defaultGeneral" type="text" selector="//*[contains(text(),'General')]" time="15"/>
1818
<element name="emailErrorMessage" type="text" selector="#email-error"/>
19+
<element name="defaultGeneral" type="text" selector="//*[contains(text(),'General')]" timeout="15"/>
1920
</section>
2021
</sections>

0 commit comments

Comments
 (0)