diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-03-24 01:39:57 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-03-24 01:39:57 +0300 |
commit | e240b0ab3e836283637c5711839445ff566e1d20 (patch) | |
tree | 07defd5c4b6af6f58022421064c016fee9c1a910 /plugins/SitesManager/API.php | |
parent | cad82dd242774bdbc115c21ae36d0c8e7e8e73e7 (diff) |
- fixed #523 adding website with international characters doesn't work; eg. täst.de
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 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); } /** |