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 1383a377..2338b5ae 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:3:255:${validatedValue}") + @Pattern(regexp = "(^$|.{3,45})", message = "institution:urlSuffix:size:3:255:${validatedValue}") public final String urlSuffix; @JsonProperty(INSTITUTION.ATTR_LOGO_IMAGE)