Skip to content

Commit 5fd7d28

Browse files
committed
MC-5835: [Sec] XSS in Page Builder
Add explicit type of "string" to addCategoryConditionToProductsBlock's category parameter
1 parent 24de90f commit 5fd7d28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/Test/Mftf/ActionGroup/ContentTypeProductsActionGroup.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<actionGroup name="addCategoryConditionToProductsBlock">
7878
<arguments>
7979
<argument name="page" defaultValue=""/>
80-
<argument name="category" defaultValue=""/>
80+
<argument name="category" defaultValue="" type="string"/>
8181
<argument name="conditionIndex" defaultValue="1" type="string"/>
8282
</arguments>
8383
<waitForElementVisible selector="{{page.conditionsList}}" stepKey="waitForConditionsToLoad"/>

0 commit comments

Comments
 (0)