This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix inactive/non-existent cart handling by re-adding GraphQL error category extension | |
@package magento/framework | |
Index: GraphQl/Exception/GraphQlNoSuchEntityException.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
diff --git a/GraphQl/Exception/GraphQlNoSuchEntityException.php b/GraphQl/Exception/GraphQlNoSuchEntityException.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Run this script with: wget -O - https://gist.github.com/hnsr/c6511f61683245a6faaa6be202dc6fc0/raw | sh | |
echo "Script for checking VP_Webforms exploits (run this from the magento root)" | |
echo "\n\nChecking for presence of webforms..." | |
find . -iname *VladimirPopov_WebForms.xml | |
echo "\n\nChecking for admin login mailer hack..." | |
grep -Ri "\"Admin From \"" app/ | |
echo "\n\nDumping configured paypal credentials..." | |
./n98-magerun.phar db:query -- "SELECT value FROM core_config_data WHERE path = 'paypal/general/business_account';" |