Support "." in facebook profile uris

Reported by Laurent Bigonville

Fixed bug #673459
(cherry picked from commit ed464680f7)
This commit is contained in:
Alexander Larsson 2012-04-30 13:54:04 +02:00
parent bc47ff21fe
commit 7ac382a860

View file

@ -999,7 +999,7 @@ public class Contacts.Contact : GLib.Object {
string uri = detail.value;
if (/https?:\/\/www.facebook.com\/profile\.php\?id=[0-9]+$/.match(uri) ||
/https?:\/\/www.facebook.com\/[a-zA-Z0-9]+$/.match(uri))
/https?:\/\/www.facebook.com\/[a-zA-Z0-9.]+$/.match(uri))
return _("Facebook");
if (/https?:\/\/twitter.com\/#!\/[a-zA-Z0-9]+$/.match(uri))