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:
authorKate Butler <kate@innocraft.com>2019-08-29 06:47:56 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-08-29 06:47:56 +0300
commitad12a4ff5e711560124e086d80526ad43af24ce6 (patch)
tree67705615c4bb24a9f25a768bb0fe4264f397d266 /plugins/UserCountry
parent7cb5e48757d46bbbfc0b1f939b03c2733cd1e4f7 (diff)
Do tracker request validation/auth before start of processing (#14830)
* Validate request before we start processing * Refactoring
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r--plugins/UserCountry/Columns/Base.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/UserCountry/Columns/Base.php b/plugins/UserCountry/Columns/Base.php
index 1b737bd053..1ee6ea9d18 100644
--- a/plugins/UserCountry/Columns/Base.php
+++ b/plugins/UserCountry/Columns/Base.php
@@ -26,6 +26,11 @@ abstract class Base extends VisitDimension
protected function getUrlOverrideValueIfAllowed($urlParamToOverride, Request $request)
{
+ return self::getValueFromUrlParamsIfAllowed($urlParamToOverride, $request);
+ }
+
+ public static function getValueFromUrlParamsIfAllowed($urlParamToOverride, Request $request)
+ {
$value = Common::getRequestVar($urlParamToOverride, false, 'string', $request->getParams());
if (!empty($value)) {