Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2018-11-13 08:57:02 +0300
committerGitHub <noreply@github.com>2018-11-13 08:57:02 +0300
commite6a7ace51248f43d0ffa10e2e833bb79b1010182 (patch)
tree530d71cd3c854a18b77c8f754f0378ec6bb52c52 /plugins/Goals
parent50040d5874cd7831f1a90e9e52f8861a444e0d30 (diff)
Regenerate OmniFixture dump w/ more xss payloads (#13556)
* Buffing xss testing system. * More testing changes. * Finish adding more xss test data. * Update ui-test.php file. * Use DI\add in test container override. * Update OmniFixture. * Get fixture to setup properly. * Make xss sanity check work w/ persist fixture data option. * Another sanity check tweak. * Trying to debug xss sanity check. * removing duplicates * Fix xss testing JS. * Escape widget category text. * deal w/ angular input in goal name * Ensure privacy manager links are safe and add automated test for dangerous links to UI tests. * Create dangerous link method in xsstesting class. * Make xss test failures a bit easier to debug and escape metric documentation for angular. * Tweak quickaccess test. * Try to get pviot by dimension test to pass. * Tweak QuickAccess test and try to get xss reports to show. * Fix exception message. * Tweaks to fake xss report (cannot currently be displayed). * Updating screenshots. * In check for dangerous links test allow empty links that use dangerous prefix. * fix a cou0le more tests. * update more screenshots * Update a couple more screenshots. * Updated screenshot. * update screenshots * update two more screenshots * Use ng-bind-html to sanitize report documentation which can potentially have HTML. * update screenshots
Diffstat (limited to 'plugins/Goals')
-rw-r--r--plugins/Goals/Visualizations/Goals.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Goals/Visualizations/Goals.php b/plugins/Goals/Visualizations/Goals.php
index b03d4407d4..4453b2f352 100644
--- a/plugins/Goals/Visualizations/Goals.php
+++ b/plugins/Goals/Visualizations/Goals.php
@@ -17,6 +17,8 @@ use Piwik\Plugins\Goals\API as APIGoals;
use Piwik\Site;
use Piwik\View;
+require_once PIWIK_INCLUDE_PATH . '/core/Twig.php';
+
/**
* DataTable Visualization that derives from HtmlTable and sets show_goals_columns to true.
*/