From 49eb819ca5e9a4824b437813a11900b780bd8102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 3 Dec 2014 12:33:48 +0000 Subject: GmailNotifier: Fix gmail login url to not require login if user is already logged in (automatic login is not possible with GET request); Version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@11228 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/GmailNotifier/src/gmail.h | 2 +- plugins/GmailNotifier/src/notify.cpp | 4 ++-- plugins/GmailNotifier/src/version.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/GmailNotifier/src/gmail.h b/plugins/GmailNotifier/src/gmail.h index 67e5eeda85..9337667f7c 100644 --- a/plugins/GmailNotifier/src/gmail.h +++ b/plugins/GmailNotifier/src/gmail.h @@ -28,7 +28,7 @@ #define IDI_TRAY WM_USER+6 #define pluginName "GmailMNotifier" #define _MAX_DOWN_BUFFER 65536 -#define LINK "https://www.google.com/accounts/ServiceLoginAuth?continue=https%3A%2F%2Fmail.google.com%2Fmail&service=mail&Email=" +#define LINK "https://accounts.google.com/ServiceLogin?continue=https%3A%2F%2Fmail.google.com%2Fmail&service=mail&passive=true&Email=" #define FORMDATA1 "
" diff --git a/plugins/GmailNotifier/src/notify.cpp b/plugins/GmailNotifier/src/notify.cpp index fb4609f65f..4e1ee93632 100644 --- a/plugins/GmailNotifier/src/notify.cpp +++ b/plugins/GmailNotifier/src/notify.cpp @@ -184,8 +184,8 @@ void __cdecl Login_ThreadFunc(void *lpParam) else { mir_strcat(lpPathBuffer, LINK); mir_strcat(lpPathBuffer, mir_urlEncode(curAcc->name)); - mir_strcat(lpPathBuffer, "&Passwd="); - mir_strcat(lpPathBuffer, mir_urlEncode(curAcc->pass)); + //mir_strcat(lpPathBuffer, "&Passwd="); + //mir_strcat(lpPathBuffer, mir_urlEncode(curAcc->pass)); if (opt.AutoLogin == 1) mir_strcat(lpPathBuffer, "&PersistentCookie=yes"); } diff --git a/plugins/GmailNotifier/src/version.h b/plugins/GmailNotifier/src/version.h index 30f4982d28..e5b4696512 100644 --- a/plugins/GmailNotifier/src/version.h +++ b/plugins/GmailNotifier/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 3 #define __RELEASE_NUM 1 -#define __BUILD_NUM 0 +#define __BUILD_NUM 1 #include -- cgit v1.2.3