Skip to content

Instantly share code, notes, and snippets.

View GSadee's full-sized avatar

Grzegorz Sadowski GSadee

View GitHub Profile
@GSadee
GSadee / Adjustment.xml
Created July 16, 2024 10:29
Ability to retrieve Adjustments with an incremental integer ID in an API endpoint
<!-- config/api_platform/Adjustment.xml -->
<!-- ... -->
<itemOperation name="shop_get">
<attribute name="method">GET</attribute>
<attribute name="path">/shop/adjustments/{id}</attribute>
<attribute name="controller">ApiPlatform\Core\Action\NotFoundAction</attribute>
<attribute name="read">false</attribute>
<attribute name="output">false</attribute>
@GSadee
GSadee / bash.sh
Created May 8, 2024 13:13
Potential Cross Site Scripting (XSS) via the "Name" field (Taxons, Products, Options, Variants) in the Admin Panel workaround
yarn build
@GSadee
GSadee / bash.sh
Last active May 10, 2024 08:26
Potential Cross Site Scripting (XSS) via the "Province" field in the Checkout and Address Book workaround
yarn build