Index: main/plugin-cms/src/org/ametys/cms/transformation/URIConsistencyChecker.java =================================================================== --- main/plugin-cms/src/org/ametys/cms/transformation/URIConsistencyChecker.java (revision 36870) +++ main/plugin-cms/src/org/ametys/cms/transformation/URIConsistencyChecker.java (working copy) @@ -33,10 +33,10 @@ import org.apache.avalon.framework.service.ServiceException; import org.apache.avalon.framework.service.ServiceManager; import org.apache.avalon.framework.service.Serviceable; - import org.ametys.runtime.plugins.core.administrator.version.Version; import org.ametys.runtime.plugins.core.administrator.version.VersionsHandler; import org.ametys.runtime.util.I18nizableText; +import org.ametys.runtime.util.URLEncoder; /** * This implementation of the consistency checker, checks the links using the URIResolver extension point @@ -66,7 +66,7 @@ { CookieHandler.setDefault(new CookieManager(null, CookiePolicy.ACCEPT_ALL)); - URL url = new URL(linkValue); + URL url = new URL(linkValue.replaceAll(" ", "%20")); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); if (shortTest) {