Skip to content
Permalink
Browse files
Merge pull request #43 from fbelzunc/JENKINS-38294
[FIXED JENKINS-38294] Trim the domains so a space after comma does not get introduced
  • Loading branch information
fbelzunc committed Sep 16, 2016
2 parents d6bb427 + 9369861 commit 3163157ce6a68abbfff89a9e1c2d06ad0435b2aa
Showing 1 changed file with 1 addition and 1 deletion.
@@ -420,7 +420,7 @@ public FormValidation doValidate(@QueryParameter(fixEmpty = true) String domain,

String[] names = domain.split(",");
for (String name : names) {

name = name.trim();
if (!name.endsWith("."))
name += '.';

0 comments on commit 3163157

Please sign in to comment.