From 5a206e83a880b020f57d30071d22a5a50a8242aa Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Wed, 18 Sep 2013 10:43:58 +0200 Subject: [PATCH] // Security --- .../attributes_groups/helpers/view/index.php | 35 +++++++++++++++++++ .../categories/helpers/tree/index.php | 35 +++++++++++++++++++ .../products/helpers/tree/index.php | 35 +++++++++++++++++++ .../controllers/scenes/helpers/tree/index.php | 35 +++++++++++++++++++ .../default/template/helpers/tree/index.php | 35 +++++++++++++++++++ classes/tree/index.php | 35 +++++++++++++++++++ 6 files changed, 210 insertions(+) create mode 100644 admin-dev/themes/default/template/controllers/attributes_groups/helpers/view/index.php create mode 100644 admin-dev/themes/default/template/controllers/categories/helpers/tree/index.php create mode 100644 admin-dev/themes/default/template/controllers/products/helpers/tree/index.php create mode 100644 admin-dev/themes/default/template/controllers/scenes/helpers/tree/index.php create mode 100644 admin-dev/themes/default/template/helpers/tree/index.php create mode 100644 classes/tree/index.php diff --git a/admin-dev/themes/default/template/controllers/attributes_groups/helpers/view/index.php b/admin-dev/themes/default/template/controllers/attributes_groups/helpers/view/index.php new file mode 100644 index 000000000..c9b153f1b --- /dev/null +++ b/admin-dev/themes/default/template/controllers/attributes_groups/helpers/view/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); +header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); + +header('Cache-Control: no-store, no-cache, must-revalidate'); +header('Cache-Control: post-check=0, pre-check=0', false); +header('Pragma: no-cache'); + +header('Location: ../../../../../../../../'); +exit; \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/categories/helpers/tree/index.php b/admin-dev/themes/default/template/controllers/categories/helpers/tree/index.php new file mode 100644 index 000000000..c9b153f1b --- /dev/null +++ b/admin-dev/themes/default/template/controllers/categories/helpers/tree/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); +header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); + +header('Cache-Control: no-store, no-cache, must-revalidate'); +header('Cache-Control: post-check=0, pre-check=0', false); +header('Pragma: no-cache'); + +header('Location: ../../../../../../../../'); +exit; \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/products/helpers/tree/index.php b/admin-dev/themes/default/template/controllers/products/helpers/tree/index.php new file mode 100644 index 000000000..c9b153f1b --- /dev/null +++ b/admin-dev/themes/default/template/controllers/products/helpers/tree/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); +header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); + +header('Cache-Control: no-store, no-cache, must-revalidate'); +header('Cache-Control: post-check=0, pre-check=0', false); +header('Pragma: no-cache'); + +header('Location: ../../../../../../../../'); +exit; \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/scenes/helpers/tree/index.php b/admin-dev/themes/default/template/controllers/scenes/helpers/tree/index.php new file mode 100644 index 000000000..c9b153f1b --- /dev/null +++ b/admin-dev/themes/default/template/controllers/scenes/helpers/tree/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); +header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); + +header('Cache-Control: no-store, no-cache, must-revalidate'); +header('Cache-Control: post-check=0, pre-check=0', false); +header('Pragma: no-cache'); + +header('Location: ../../../../../../../../'); +exit; \ No newline at end of file diff --git a/admin-dev/themes/default/template/helpers/tree/index.php b/admin-dev/themes/default/template/helpers/tree/index.php new file mode 100644 index 000000000..65f37686f --- /dev/null +++ b/admin-dev/themes/default/template/helpers/tree/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); +header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); + +header('Cache-Control: no-store, no-cache, must-revalidate'); +header('Cache-Control: post-check=0, pre-check=0', false); +header('Pragma: no-cache'); + +header('Location: ../../../../../../'); +exit; \ No newline at end of file diff --git a/classes/tree/index.php b/classes/tree/index.php new file mode 100644 index 000000000..c1c95ce96 --- /dev/null +++ b/classes/tree/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); +header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); + +header('Cache-Control: no-store, no-cache, must-revalidate'); +header('Cache-Control: post-check=0, pre-check=0', false); +header('Pragma: no-cache'); + +header('Location: ../../'); +exit; \ No newline at end of file