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 /config/environment
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 'config/environment')
-rw-r--r--config/environment/ui-test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/environment/ui-test.php b/config/environment/ui-test.php
index d18022689a..8b46ede218 100644
--- a/config/environment/ui-test.php
+++ b/config/environment/ui-test.php
@@ -17,7 +17,7 @@ return array(
return $config;
}),
- 'observers.global' => \DI\add(array(
+ 'observers.global' => \DI\add([
// removes port from all URLs to the test Piwik server so UI tests will pass no matter
// what port is used
@@ -55,6 +55,8 @@ return array(
array('Controller.RssWidget.rssPiwik.end', function (&$result, $parameters) {
$result = "";
}),
- )),
+
+ \Piwik\Tests\Framework\XssTesting::getJavaScriptAddEvent(),
+ ]),
);