Skip to content

Commit

Permalink
Merge pull request #43 from fbelzunc/JENKINS-38294
Browse files Browse the repository at this point in the history
[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 3163157
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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 += '.';

Expand Down

0 comments on commit 3163157

Please sign in to comment.