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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-09-05 04:10:09 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-09-05 04:10:09 +0400
commit2037d18e2192687c47f7c231aace8973cdf2dedc (patch)
tree1eb8b5489e59152a76ca99f90f8fd16d162d1f7d /plugins/SitesManager/API.php
parent994ff31f0cc3bd9b476488bea6de5731119af245 (diff)
Url now accepting characters ~ and %
Diffstat (limited to 'plugins/SitesManager/API.php')
-rwxr-xr-xplugins/SitesManager/API.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SitesManager/API.php b/plugins/SitesManager/API.php
index 2c69e9d0a0..42deb38a93 100755
--- a/plugins/SitesManager/API.php
+++ b/plugins/SitesManager/API.php
@@ -447,7 +447,7 @@ class Piwik_SitesManager_API extends Piwik_Apiable
*/
static private function isValidUrl( $url )
{
- return ereg('^http[s]?://([A-Za-z0-9\/_.:-])*$', $url);
+ return ereg('^http[s]?://([A-Za-z0-9\/_%~.:-])*$', $url);
}
/**