News:

Looking for documentation? Take a look on our wiki

Main Menu

add to cart not working

Started by edv, January 09, 2012, 18:22:46 PM

Previous topic - Next topic

edv

Hi there,

Im just starting with the version 2. First of all my versions:
VM 2.0.0
Joomla: 1.7.3
Template: Beez2 - Default
IIS6.0, PHP5.2, M$ TMG

the link/form of the "add to cart" button calls something like .../index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&quantity%255B%255D%3D1%26option%3Dcom_virtuemart%26view%3Dcart%26virtuemart_product_id%255B%255D%3D1%26virtuemart_manufacturer_id%3DArray%26virtuemart_category_id%255B%255D%3D1&_=1326128188815

The problem here are the double encoded %255B and %255D. My firewall is set to check for normalization an the link fails with error 500 ( The request was rejected by the HTTP filter. ) Is there a workaroud for this issue?

Well, switching to apache and changist the firewall settings ist not possible because of the other hosted sites.

Kind regards
EDV

EDIT: I disabled "normalization". This could open up a security issue, but for first testing it seems OK. Maybe there will be a better solution in future updates on virtuemart.