diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index f68d904..e327ba5 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -117,8 +117,7 @@ public class PropertyChecker this.organizationRules.add("organization.owner.logo", URL, PropertyMode.OPTIONAL); this.organizationRules.add("organization.contact.url", URL, PropertyMode.WISHED); this.organizationRules.add("organization.contact.email", EMAIL, PropertyMode.WISHED); - this.organizationRules.add("organization.legal", URL, PropertyMode.WISHED); - this.organizationRules.add("organization.legal.url", URL, PropertyMode.WISHED); + this.organizationRules.add("^organization\\.legal(\\.url)?$", URL, PropertyMode.WISHED); this.organizationRules.add("organization.guide.user", URL, PropertyMode.WISHED); this.organizationRules.add("organization.guide.technical", URL, PropertyMode.WISHED); this.organizationRules.add("organization.startdate", DATE, PropertyMode.WISHED);