summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2019-09-22 10:20:30 -0600
committerEduardo Chappa <chappa@washington.edu>2019-09-22 10:20:30 -0600
commitb9de8dcc0aff082f61a638c9f0dd12b285cd6533 (patch)
treebfc5ebea550710e4a9eff8ac649110efafea59f8
parentf7b373f085992290c427392a28984c2ddc1553ba (diff)
downloadalpine-b9de8dcc0aff082f61a638c9f0dd12b285cd6533.tar.xz
* Alpine removes trailing spaces from passwords, which creates failures
when login into an account. Reported by R. Lyons.
-rw-r--r--alpine/imap.c1
-rw-r--r--pith/pine.hlp5
2 files changed, 5 insertions, 1 deletions
diff --git a/alpine/imap.c b/alpine/imap.c
index 164d005..9a8469e 100644
--- a/alpine/imap.c
+++ b/alpine/imap.c
@@ -1459,6 +1459,7 @@ mm_login_work(NETMBX *mb, char *user, char **pwd, long int trial,
save_dont_use = ps_global->dont_use_init_cmds;
ps_global->dont_use_init_cmds = 1;
flags = F_ON(F_QUELL_ASTERISKS, ps_global) ? OE_PASSWD_NOAST : OE_PASSWD;
+ flags |= OE_KEEP_TRAILING_SPACE;
#ifdef _WINDOWS
rc = os_login_dialog(mb, user, NETMAXUSER, tmp, NETMAXPASSWD, 0, 1,
&preserve_password);
diff --git a/pith/pine.hlp b/pith/pine.hlp
index b39eed2..fc603fc 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 368 2019-09-06 21:36:18
+Alpine Commit 369 2019-09-22 10:20:26
============= h_news =================
<HTML>
<HEAD>
@@ -347,6 +347,9 @@ Bugs that have been addressed include:
<LI> Crash with error "Lock when already locked" when an attempt to check
for new mail on a locked stream that is being used for a save
operation. Reported by Carlos E.R.
+
+ <LI> Alpine removes trailing spaces from passwords, making a longin attempt
+ fail. Reported by R. Lyons.
</UL>
<P>