Skip to content

gewaechshaus/Inovarti_FixAddToCartMage18

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inovarti_FixAddToCartMage18

The module was created because it is the new "form_key" parameter added to POST requests in Magento 1.8 to Prevent XSS attacks. It causes troubles with Varnish because the product page is cached with the first session of the form_key visiting the website, and the others visitors can not csrf check because it does not match with Their form_key session.

For "add to cart" event, I've added to the fixcart where I form_key replace the parameter with the session form_key to pass the csrf check and let customers add products to cart. It disables the csrf protection for the "add to cart" action but it's just like Magento < 1.8

Fix for the treatment of the empty basket in Magento 1.8 using Varnish

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%