[epiphany/wip/ephy-sync: 43/48] sync-service: Fix email regex



commit 37bb990a8ee38d3717785026772d730f8c10478f
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Mon Aug 8 21:05:14 2016 +0300

    sync-service: Fix email regex

 src/ephy-sync-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-sync-service.c b/src/ephy-sync-service.c
index 34a7f43..77a3a2b 100644
--- a/src/ephy-sync-service.c
+++ b/src/ephy-sync-service.c
@@ -32,7 +32,7 @@
 #define MOZILLA_FIREFOX_ACCOUNTS_BASE_URL  "https://api.accounts.firefox.com/";
 #define MOZILLA_FIREFOX_ACCOUNTS_VERSION   "v1/"
 
-#define EMAIL_REGEX              "^[a-z0-9]([a-z0-9.]+[a-z0-9])?@[a-z0-9.-]+$"
+#define EMAIL_REGEX              "^[a-zA-Z0-9_]([a-zA-Z0-9._]+[a-zA-Z0-9_])?@[a-z0-9.-]+$"
 #define CURRENT_TIME_IN_SECONDS  (g_get_real_time () / 1000000)
 
 struct _EphySyncService {


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