From 3ab77b1303646ddcbd1eccbabc0d4e11b2f0ccf5 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 14 May 2017 20:15:59 +0200 Subject: [PATCH] Skip domain in config --- .../web/inc/lib/vendor/owasp/csrf-protector-php/libs/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/inc/lib/vendor/owasp/csrf-protector-php/libs/config.php b/data/web/inc/lib/vendor/owasp/csrf-protector-php/libs/config.php index b9833d64..bab612ed 100755 --- a/data/web/inc/lib/vendor/owasp/csrf-protector-php/libs/config.php +++ b/data/web/inc/lib/vendor/owasp/csrf-protector-php/libs/config.php @@ -39,7 +39,7 @@ return array( "customErrorMessage" => "", "jsPath" => "../js/csrfprotector.js", // Fetching IS_HTTPS from sessions handler - "jsUrl" => get_trusted_hostname(), + "jsUrl" => "/inc/lib/vendor/owasp/csrf-protector-php/js/csrfprotector.js", "tokenLength" => 10, "secureCookie" => false, "disabledJavascriptMessage" => "",