-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Windows Server 2008
When SSPI authentication is used for SVN, the username Hudson sees is in the form of "DOMAIN\user". If the "Default user e-mail suffix" property has been configured to "company.com", the MailAddressResolver comes up with an email address in the form of "DOMAIN_user@company.com".
It would be ideal if the MailAddressResolver could strip out any text up to and including a backslash in the user's SCM ID when trying to come up with a fallback address, as leaving it in (even with an underscore) will never be the correct behavior.
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/tasks/MailAddressResolver.java
trunk/hudson/main/test/src/test/java/hudson/tasks/MailAddressResolverTest.java
trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=25964
Log:
[FIXED JENKINS-5164]
Infer the default e-mail address more smartly with user IDs like "DOMAIN\user" (often seen in Windows)