Skip to content

Commit 9819529

Browse files
committed
Keep params from original url
1 parent b1155b3 commit 9819529

File tree

1 file changed

+5
-0
lines changed
  • app/code/community/Nexcessnet/Turpentine/Model/Observer

1 file changed

+5
-0
lines changed

app/code/community/Nexcessnet/Turpentine/Model/Observer/Esi.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,11 @@ public function injectEsi($eventObject) {
297297
);
298298
}
299299

300+
/**
301+
* Keep params from original url
302+
*/
303+
$urlOptions['_query'] = Mage::app()->getRequest()->getParams();
304+
300305
$esiUrl = Mage::getUrl('turpentine/esi/getBlock', $urlOptions);
301306
if ($esiOptions[$methodParam] == 'esi') {
302307
// setting [web/unsecure/base_url] can be https://... but ESI can never be HTTPS

0 commit comments

Comments
 (0)