diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-09-05 04:10:09 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-09-05 04:10:09 +0400 |
commit | 2037d18e2192687c47f7c231aace8973cdf2dedc (patch) | |
tree | 1eb8b5489e59152a76ca99f90f8fd16d162d1f7d /plugins/SitesManager/API.php | |
parent | 994ff31f0cc3bd9b476488bea6de5731119af245 (diff) |
Url now accepting characters ~ and %
Diffstat (limited to 'plugins/SitesManager/API.php')
-rwxr-xr-x | plugins/SitesManager/API.php | 2 |
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); } /** |