[epiphany/wip/sync-rebase: 52/86] sync-service: Fix email regex
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/sync-rebase: 52/86] sync-service: Fix email regex
- Date: Fri, 7 Oct 2016 22:53:05 +0000 (UTC)
commit 71dac0bbfbdf3248b13a4de8bf6beed6fb0febfd
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]