From b9de8dcc0aff082f61a638c9f0dd12b285cd6533 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 22 Sep 2019 10:20:30 -0600 Subject: * Alpine removes trailing spaces from passwords, which creates failures when login into an account. Reported by R. Lyons. --- alpine/imap.c | 1 + pith/pine.hlp | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/alpine/imap.c b/alpine/imap.c index 164d0050..9a8469ee 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 b39eed22..fc603fc7 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 ================= @@ -347,6 +347,9 @@ Bugs that have been addressed include:
  • 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. + +
  • Alpine removes trailing spaces from passwords, making a longin attempt + fail. Reported by R. Lyons.

    -- cgit v1.2.3-70-g09d2