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>2009-03-24 01:39:57 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-03-24 01:39:57 +0300
commite240b0ab3e836283637c5711839445ff566e1d20 (patch)
tree07defd5c4b6af6f58022421064c016fee9c1a910 /plugins/SitesManager/API.php
parentcad82dd242774bdbc115c21ae36d0c8e7e8e73e7 (diff)
- fixed #523 adding website with international characters doesn't work; eg. täst.de
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 07d413a861..5bf4167365 100755
--- a/plugins/SitesManager/API.php
+++ b/plugins/SitesManager/API.php
@@ -429,7 +429,7 @@ class Piwik_SitesManager_API
*/
static private function isValidUrl( $url )
{
- return ereg('^http[s]?://([A-Za-z0-9\/_%~.:-])*$', $url);
+ return Piwik_Common::isLookLikeUrl($url);
}
/**