Skip to content

Instantly share code, notes, and snippets.

Avatar

Piotr Kaminski piotrekkaminski

  • Austin, TX
View GitHub Profile
@piotrekkaminski
piotrekkaminski / Magento Community Edition Security Issue Patch
Created Dec 11, 2013
Please see file below for version to patch mapping information.
View Magento Community Edition Security Issue Patch
No need to install this patch for Magento Community Edition version 1.8.0.0 or later
PATCH_SUPEE-2530_CE_1.4.0.0-1.4.0.1_v1.sh for:
CE v1.4.0.0
CE v1.4.0.1
PATCH_SUPEE-2529_CE_1.4.1.0-1.5.0.1_v1.sh for:
CE v1.4.1.0
CE v1.4.1.1
CE v1.4.2.0
View MPERF-3767
diff --git a/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php b/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php
index 773c781..4801473 100644
--- a/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php
+++ b/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php
@@ -140,7 +140,7 @@ class Mage_Core_Model_Url_Rewrite_Request
$fromStore = $this->_request->getQuery('___from_store');
if (!$this->_rewrite->getId() && $fromStore) {
- $stores = $this->_app->getStores();
+ $stores = $this->_app->getStores(false, true);
View PATCH_SUPEE-3176_EE_1.13.0.1_v1.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
@piotrekkaminski
piotrekkaminski / PATCH_SUPEE-3203_EE_1.13.1.0_v1.sh
Created Jul 11, 2014
SUPEE-3202: Bundle Products Error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'selection_id' cannot be null
View PATCH_SUPEE-3203_EE_1.13.1.0_v1.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
@piotrekkaminski
piotrekkaminski / PATCH_SUPEE-3762_EE_1.14.0.1_v1.sh
Created Jul 11, 2014
SUPEE-3762: Navigating to the SOAP V2 WSDL and index page causes only the install page to display
View PATCH_SUPEE-3762_EE_1.14.0.1_v1.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
@piotrekkaminski
piotrekkaminski / PATCH_SUPEE-389_EE_1.12.0.2_v2.sh
Created Sep 5, 2014
SUPEE-389: Every time the catalog URL is rendexed, a new custom rewrite is created
View PATCH_SUPEE-389_EE_1.12.0.2_v2.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
View PATCH_SUPEE-1800_EE_1.12.0.2_v1_v1.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
@piotrekkaminski
piotrekkaminski / swatchesfallback.patch
Last active Aug 29, 2015
[PATCH] Fixed issue where language fallback swatch images would not be loaded from media/wysiwyg/swatches
View swatchesfallback.patch
diff --git a/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php b/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php
index 2de62ed..c284811 100644
--- a/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php
+++ b/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php
@@ -227,6 +227,8 @@ class Mage_ConfigurableSwatches_Helper_Productimg extends Mage_Core_Helper_Abstr
$fileExt = self::SWATCH_FILE_EXT;
}
+ // normalize to all lower case so that value can be used as array key below
+ $value = Mage_ConfigurableSwatches_Helper_Data::normalizeKey($value);
View gist:8315e60a5ac3650f10d3
Commerce Bug http://store.pulsestorm.net/products/commerce-bug-2
Magicento http://magicento.com/
n98-magerun https://github.com/netz98/n98-magerun
Modman https://github.com/colinmollenhour/modman
AOE_Profiler https://github.com/AOEpeople/Aoe_Profiler
View EE_earlier_than_1_14_1_0_CE_earlier_than_1_9_1_0_SSL.patch
Index: downloader/lib/Mage/HTTP/Client/Curl.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- downloader/lib/Mage/HTTP/Client/Curl.php (revision 775b8b8d41a4079655efb9e64fc869baf44646e5)
+++ downloader/lib/Mage/HTTP/Client/Curl.php (revision )
@@ -379,7 +379,7 @@
$this->curlOption(CURLOPT_URL, $uri);
You can’t perform that action at this time.