Jump to content

Where is the javascript var Prestashop defined? Possible security issue


Recommended Posts

Hi,

Because there is a possible security issue with data in this var i need to  know where the var prestashop is set in the code so i can look into it.
 

var prestashop = {"cart":{"products":[],"totals":{"total":{"type":"total","label":"Totaal","amount":0,"value":"\u00a00,00"},"total_including_tax"

I've searched and searched but i can't find it anywhere.



 

Link to comment
Share on other sites

After another frustrating search session i've found it:
It's in the FrontController.php

Line 554

554'prestashop' => $this->buildFrontEndObject($templateVars),

Now i can continue my search for the possible security issue

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...