Open Bug 556531 Opened 14 years ago Updated 2 years ago

Fix the auth detection.

Categories

(Thunderbird :: Account Manager, defect)

defect

Tracking

(Not tracked)

People

(Reporter: bwinton, Unassigned)

Details

There are a couple of problems with our auth detection in <http://mxr.mozilla.org/comm-central/source/mailnews/base/prefs/content/accountcreation/guessConfig.js#617>, as mentioned in bug 556491.

For instance:
We want "AUTHINVALID CRAM-MD5", and "AUTH ANYTHINGBUTCRAM-MD5" to not match the regex for "CRAM-MD5".
We want "AUTH=PLAIN AUTH=GSSAPI7" to be the same as "AUTH=PLAIN".

I wonder if it makes sense to split the auth line on spaces, then test each token to see if it matches what we think we want.

Later,
Blake.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.