Skip to content
Permalink
Browse files
JENKINS-38294 Trim the domains so a space after comma does not get af…
…fected
  • Loading branch information
fbelzunc committed Sep 16, 2016
1 parent d6bb427 commit 936986143c17f4f8d43a93d8dde21f74d3ca06d8
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 9369861

Please sign in to comment.