From 90c08340fa460e2e5ce9448c2ff5e09e98d2df88 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Tue, 19 Mar 2019 22:51:24 -0500 Subject: [PATCH] URL Cleanup This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * http://www.puppycrawl.com/dtds/configuration_1_3.dtd (404) with 1 occurrences migrated to: https://www.puppycrawl.com/dtds/configuration_1_3.dtd ([https](https://www.puppycrawl.com/dtds/configuration_1_3.dtd) result 404). * http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to: https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404). These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * http://www.hazelcast.com/schema/config/hazelcast-config-3.11.xsd with 3 occurrences migrated to: https://www.hazelcast.com/schema/config/hazelcast-config-3.11.xsd ([https](https://www.hazelcast.com/schema/config/hazelcast-config-3.11.xsd) result 200). * http://www.springframework.org/schema/beans/spring-beans.xsd with 9 occurrences migrated to: https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200). * http://www.springframework.org/schema/context/spring-context.xsd with 7 occurrences migrated to: https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd) result 200). * http://www.springframework.org/schema/jdbc/spring-jdbc.xsd with 1 occurrences migrated to: https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc.xsd) result 200). * http://www.springframework.org/schema/security/spring-security.xsd with 2 occurrences migrated to: https://www.springframework.org/schema/security/spring-security.xsd ([https](https://www.springframework.org/schema/security/spring-security.xsd) result 200). * http://www.springframework.org/schema/util/spring-util-4.1.xsd with 2 occurrences migrated to: https://www.springframework.org/schema/util/spring-util-4.1.xsd ([https](https://www.springframework.org/schema/util/spring-util-4.1.xsd) result 200). * http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd with 2 occurrences migrated to: https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd ([https](https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd) result 302). These URLs were intentionally ignored. * http://java.sun.com/xml/ns/javaee with 4 occurrences * http://www.hazelcast.com/schema/config with 6 occurrences * http://www.springframework.org/schema/beans with 18 occurrences * http://www.springframework.org/schema/context with 14 occurrences * http://www.springframework.org/schema/jdbc with 2 occurrences * http://www.springframework.org/schema/p with 5 occurrences * http://www.springframework.org/schema/security with 4 occurrences * http://www.springframework.org/schema/util with 4 occurrences * http://www.w3.org/2001/XMLSchema-instance with 14 occurrences Fixes gh-1374 --- ...onfigurationNoOpConfigureRedisActionXmlTests-context.xml | 6 +++--- .../docs/http/HttpSessionListenerXmlTests-context.xml | 6 +++--- .../RememberMeSecurityConfigurationXmlTests-context.xml | 4 ++-- docs/src/test/resources/docs/security/security-config.xml | 4 ++-- etc/checkstyle/checkstyle.xml | 2 +- etc/checkstyle/suppressions.xml | 2 +- samples/xml/jdbc/src/main/webapp/WEB-INF/spring/session.xml | 6 +++--- samples/xml/jdbc/src/main/webapp/WEB-INF/web.xml | 2 +- .../xml/redis/src/main/webapp/WEB-INF/spring/session.xml | 4 ++-- samples/xml/redis/src/main/webapp/WEB-INF/web.xml | 2 +- ...igurationClassPathXmlApplicationContextTests-context.xml | 4 ++-- ...HttpSessionConfigurationXmlCustomExpireTests-context.xml | 4 ++-- .../http/RedisHttpSessionConfigurationXmlTests-context.xml | 4 ++-- .../src/integration-test/resources/hazelcast-server.xml | 2 +- .../web/http/hazelcast-custom-idle-time-map-name.xml | 2 +- .../annotation/web/http/hazelcast-custom-map-name.xml | 2 +- 16 files changed, 28 insertions(+), 28 deletions(-) diff --git a/docs/src/test/resources/docs/HttpSessionConfigurationNoOpConfigureRedisActionXmlTests-context.xml b/docs/src/test/resources/docs/HttpSessionConfigurationNoOpConfigureRedisActionXmlTests-context.xml index 8b4410bd..631a86dd 100644 --- a/docs/src/test/resources/docs/HttpSessionConfigurationNoOpConfigureRedisActionXmlTests-context.xml +++ b/docs/src/test/resources/docs/HttpSessionConfigurationNoOpConfigureRedisActionXmlTests-context.xml @@ -4,9 +4,9 @@ xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util" - xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd - http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd"> + xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd + http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util-4.1.xsd"> diff --git a/docs/src/test/resources/docs/http/HttpSessionListenerXmlTests-context.xml b/docs/src/test/resources/docs/http/HttpSessionListenerXmlTests-context.xml index 404d424b..aafcaa6e 100644 --- a/docs/src/test/resources/docs/http/HttpSessionListenerXmlTests-context.xml +++ b/docs/src/test/resources/docs/http/HttpSessionListenerXmlTests-context.xml @@ -4,9 +4,9 @@ xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util" - xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd - http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd"> + xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd + http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util-4.1.xsd"> diff --git a/docs/src/test/resources/docs/security/RememberMeSecurityConfigurationXmlTests-context.xml b/docs/src/test/resources/docs/security/RememberMeSecurityConfigurationXmlTests-context.xml index 3459baf7..1996c58f 100644 --- a/docs/src/test/resources/docs/security/RememberMeSecurityConfigurationXmlTests-context.xml +++ b/docs/src/test/resources/docs/security/RememberMeSecurityConfigurationXmlTests-context.xml @@ -3,8 +3,8 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:security="http://www.springframework.org/schema/security" xmlns:p="http://www.springframework.org/schema/p" - xsi:schemaLocation="http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> + xsi:schemaLocation="http://www.springframework.org/schema/security https://www.springframework.org/schema/security/spring-security.xsd + http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd"> diff --git a/docs/src/test/resources/docs/security/security-config.xml b/docs/src/test/resources/docs/security/security-config.xml index 4db11718..42a5a4a3 100644 --- a/docs/src/test/resources/docs/security/security-config.xml +++ b/docs/src/test/resources/docs/security/security-config.xml @@ -2,8 +2,8 @@ + xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/security https://www.springframework.org/schema/security/spring-security.xsd"> diff --git a/etc/checkstyle/checkstyle.xml b/etc/checkstyle/checkstyle.xml index c130b763..9d7e54fe 100644 --- a/etc/checkstyle/checkstyle.xml +++ b/etc/checkstyle/checkstyle.xml @@ -1,6 +1,6 @@ + "https://www.puppycrawl.com/dtds/configuration_1_3.dtd"> diff --git a/etc/checkstyle/suppressions.xml b/etc/checkstyle/suppressions.xml index 305c7f83..28fbee48 100644 --- a/etc/checkstyle/suppressions.xml +++ b/etc/checkstyle/suppressions.xml @@ -1,6 +1,6 @@ + "https://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> diff --git a/samples/xml/jdbc/src/main/webapp/WEB-INF/spring/session.xml b/samples/xml/jdbc/src/main/webapp/WEB-INF/spring/session.xml index 35f6d431..e60b7ac3 100644 --- a/samples/xml/jdbc/src/main/webapp/WEB-INF/spring/session.xml +++ b/samples/xml/jdbc/src/main/webapp/WEB-INF/spring/session.xml @@ -3,9 +3,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:jdbc="http://www.springframework.org/schema/jdbc" - xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd - http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd"> + xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd + http://www.springframework.org/schema/jdbc https://www.springframework.org/schema/jdbc/spring-jdbc.xsd"> diff --git a/samples/xml/jdbc/src/main/webapp/WEB-INF/web.xml b/samples/xml/jdbc/src/main/webapp/WEB-INF/web.xml index 78e69235..9d693fbc 100644 --- a/samples/xml/jdbc/src/main/webapp/WEB-INF/web.xml +++ b/samples/xml/jdbc/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> diff --git a/samples/xml/redis/src/main/webapp/WEB-INF/web.xml b/samples/xml/redis/src/main/webapp/WEB-INF/web.xml index fd09adf2..dfe804f9 100644 --- a/samples/xml/redis/src/main/webapp/WEB-INF/web.xml +++ b/samples/xml/redis/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">