Hi,

I'm playing around with s-nail v14.7.2 (on Arch Linux), and noticed that my old
configuration does not work correctly anymore. It seems that there's a bug in 
the handling of '@' in usernames.

More specifically, I have a Gmail account defined as:

    account gmail {
        set folder="imaps://grawity%[email protected]"
        # etc.
    }

    set password-grawity%[email protected]="whatever"

This used to work in the past (maybe two years ago), but now it ignores the
password-* variable and asks for a password interactively. However, if I change
the setting to `set [email protected]@imap.gmail.com="..."`, it works
again. In other words, $folder *requires* the '@' to be percent-encoded, but
$password requires the *opposite*.

It seems that this was broken by 1a7dff48c85c..9c9e6cd18f7c (the new generic
credential layer code). Doesn't seem to be an intentional change?
Mantas Mikulėnas <[email protected]>

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck&#174;
Code Sight&#153; - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to