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:
authordizzy <diosmosis@users.noreply.github.com>2021-05-11 07:06:58 +0300
committerGitHub <noreply@github.com>2021-05-11 07:06:58 +0300
commitb58ed3d4516f2c8214b547032d1cd7fac3088646 (patch)
tree3d18ab9bb49e1f5255a53797b0d2d24ecf3a26f2 /core/Profiler.php
parenta7a3d8c8a4923aa60ed66cd6a86b669835848590 (diff)
add new ini config to enable/disable the php profiler feature (#17537)
* add new ini config to enable/disable the php profiler feature * apply review feedback * fix test * update screenshot * updated expected message
Diffstat (limited to 'core/Profiler.php')
-rw-r--r--core/Profiler.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Profiler.php b/core/Profiler.php
index 0274a9e8a2..1f69c24266 100644
--- a/core/Profiler.php
+++ b/core/Profiler.php
@@ -302,6 +302,7 @@ class Profiler
$baseUrl = $baseUrlStored;
}
$baseUrl = $baseUrlStored . "vendor/lox/xhprof/xhprof_html/?source=$profilerNamespace&run=$runId";
+ $baseUrl = Common::sanitizeInputValue($baseUrl);
$out .= "Profiler report is available at:\n";
$out .= "<a href='$baseUrl'>$baseUrl</a>";