summaryrefslogtreecommitdiff
path: root/plugins/GmailNotifier
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-12-03 12:33:48 +0000
committerRobert Pösel <robyer@seznam.cz>2014-12-03 12:33:48 +0000
commit49eb819ca5e9a4824b437813a11900b780bd8102 (patch)
treecb252cb4e70efcda2bb1723f6c2d99e66a20d324 /plugins/GmailNotifier
parent7ce3ed55b501b4d54ff73c9717cf858784769e02 (diff)
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
Diffstat (limited to 'plugins/GmailNotifier')
-rw-r--r--plugins/GmailNotifier/src/gmail.h2
-rw-r--r--plugins/GmailNotifier/src/notify.cpp4
-rw-r--r--plugins/GmailNotifier/src/version.h2
3 files changed, 4 insertions, 4 deletions
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 "<body onload=document.gmail.submit();><form name=gmail action=https://www.google.com/a/"
#define FORMDATA2 "/LoginAction method=POST><input type=hidden name=continue value=https://mail.google.com/a/"
#define FORMDATA3 "><INPUT type=hidden value=mail name=service>"
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 <stdver.h>