[gnome-contacts] Support "." in facebook profile uris



commit ed464680f7144b1c48e345fe43a8e779cc036147
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Apr 30 13:54:04 2012 +0200

    Support "." in facebook profile uris
    
    Reported by Laurent Bigonville
    
    Fixed bug #673459

 src/contacts-contact.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-contact.vala b/src/contacts-contact.vala
index cfd4982..27c2bf1 100644
--- a/src/contacts-contact.vala
+++ b/src/contacts-contact.vala
@@ -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))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]