Thursday, February 5, 2015

prestashop upload image: undefined error

my latest update on cpanel, were installing modsecurity with extra vendor from owasp.
it seems that 1 rule have caused prestashop to unable to upload image to product through the admin control panel. The rule effecting the upload is:

For example, these rules block GET requests with a body.
Basically it means it stop all post data if the url contains GET querystring...

hope it help you guys. You may disable this rule in the vendor - edit and off this line.