From d94ec3b391791fe99dc511f2adf50218458caad9 Mon Sep 17 00:00:00 2001 From: anhefti Date: Fri, 23 Aug 2019 11:29:28 +0200 Subject: [PATCH] SEBSERV-59 fixed --- .../ethz/seb/sebserver/gbl/model/institution/Institution.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/model/institution/Institution.java b/src/main/java/ch/ethz/seb/sebserver/gbl/model/institution/Institution.java index 642bebe5..1383a377 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/model/institution/Institution.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/model/institution/Institution.java @@ -36,7 +36,7 @@ public final class Institution implements GrantEntity, Activatable { public final String name; @JsonProperty(INSTITUTION.ATTR_URL_SUFFIX) - @Pattern(regexp = "(^$|.{3,255})", message = "institution:urlSuffix:size:{min}:{max}:${validatedValue}") + @Pattern(regexp = "(^$|.{3,255})", message = "institution:urlSuffix:size:3:255:${validatedValue}") public final String urlSuffix; @JsonProperty(INSTITUTION.ATTR_LOGO_IMAGE)