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-05-29 05:58:19 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-05-29 05:58:19 +0400
commita1b41c01866a986ed9734ee774dfb699d13cc24a (patch)
tree80fc412aea62f4990eb73f194358813156edffd7 /plugins/SitesManager/API.php
parenteefeb059ef790d3961f911f5c528e437b3d4abe5 (diff)
- fix #233, now allowing URLs with port
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 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);
}
/**