diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-05-29 05:58:19 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-05-29 05:58:19 +0400 |
commit | a1b41c01866a986ed9734ee774dfb699d13cc24a (patch) | |
tree | 80fc412aea62f4990eb73f194358813156edffd7 /plugins/SitesManager/API.php | |
parent | eefeb059ef790d3961f911f5c528e437b3d4abe5 (diff) |
- fix #233, now allowing URLs with port
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 3c24503d59..5f03744ba8 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);
}
/**
|