diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-05-11 07:06:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 07:06:58 +0300 |
commit | b58ed3d4516f2c8214b547032d1cd7fac3088646 (patch) | |
tree | 3d18ab9bb49e1f5255a53797b0d2d24ecf3a26f2 /core/Profiler.php | |
parent | a7a3d8c8a4923aa60ed66cd6a86b669835848590 (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.php | 1 |
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>"; |