Skip to content

Commit

Permalink
JENKINS-38294 Trim the domains so a space after comma does not get af…
Browse files Browse the repository at this point in the history
…fected
  • Loading branch information
fbelzunc committed Sep 16, 2016
1 parent d6bb427 commit 9369861
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 9369861

Please sign in to comment.