pablomelo / subethasmtp

Automatically exported from code.google.com/p/subethasmtp
Other
0 stars 0 forks source link

patch for org.subethamail.smtp.auth.PlainAuthenticationHandlerFactory #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current PlainAuthenticationHandlerFactory always assumes that the first 
character is null, i.e. that there is no authorization identity provided. Some 
clients including postfix will pass an authorization identity, which will 
totally break the handler.

Have attached a patch that processes according to spec, causing no breakage. 
Future implementations can consider whether storing/passing along authorization 
identity would be useful -- for now I kept it low-impact and it just ignores it.

Original issue reported on code.google.com by ibwh...@gmail.com on 10 Dec 2010 at 7:39

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by hontvari@flyordie.com on 28 Feb 2011 at 5:52