From a6f44839c9a90a1e914f449e58c100e25c9035b8 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Wed, 27 Mar 2019 07:28:26 -0700 Subject: [PATCH] URL Cleanup (#8) 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). # Fixed URLs ## Fixed But Review Recommended 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.ultraq.net.nz/thymeleaf/layout (302) with 2 occurrences migrated to: https://github.com/ultraq/thymeleaf-layout-dialect ([https](https://www.ultraq.net.nz/thymeleaf/layout) result ConnectTimeoutException). ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200). * [ ] http://www.thymeleaf.org with 3 occurrences migrated to: https://www.thymeleaf.org ([https](https://www.thymeleaf.org) result 200). * [ ] http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-3.dtd with 1 occurrences migrated to: https://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-3.dtd ([https](https://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-3.dtd) result 200). * [ ] http://contributor-covenant.org with 1 occurrences migrated to: https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301). * [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to: https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301). * [ ] http://plugins.jetbrains.com/plugin/6546 with 1 occurrences migrated to: https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) result 301). * [ ] http://spring.io/spring-security with 1 occurrences migrated to: https://spring.io/spring-security ([https](https://spring.io/spring-security) result 302). # Ignored These URLs were intentionally ignored. * http://localhost with 2 occurrences * http://www.w3.org/1999/xhtml with 1 occurrences --- CODE_OF_CONDUCT.adoc | 4 ++-- README.adoc | 4 ++-- .../src/main/resources/templates/index.html | 2 +- .../src/main/resources/templates/index.html | 2 +- .../src/main/resources/templates/layout.html | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CODE_OF_CONDUCT.adoc b/CODE_OF_CONDUCT.adoc index f013d6f..17783c7 100644 --- a/CODE_OF_CONDUCT.adoc +++ b/CODE_OF_CONDUCT.adoc @@ -40,5 +40,5 @@ appropriate to the circumstances. Maintainers are obligated to maintain confiden with regard to the reporter of an incident. This Code of Conduct is adapted from the -http://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at -http://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/] +https://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at +https://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/] diff --git a/README.adoc b/README.adoc index fddc75d..23920fb 100644 --- a/README.adoc +++ b/README.adoc @@ -35,12 +35,12 @@ This project adheres to the Contributor Covenant https://github.com/spring-proje None of these is essential for a pull request, but they will all help. They can also be added after the original pull request but before a merge. -* Use the Spring Data code format conventions. If you use Eclipse you can import formatter settings using the `eclipse-code-formatter.xml` file from the https://raw.githubusercontent.com/spring-projects/spring-data-build/master/etc/ide/eclipse-formatting.xml[Spring Data Build] project. If using IntelliJ, you can use the http://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter Plugin] to import the same file. +* Use the Spring Data code format conventions. If you use Eclipse you can import formatter settings using the `eclipse-code-formatter.xml` file from the https://raw.githubusercontent.com/spring-projects/spring-data-build/master/etc/ide/eclipse-formatting.xml[Spring Data Build] project. If using IntelliJ, you can use the https://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter Plugin] to import the same file. * Make sure all new `.java` files to have a simple Javadoc class comment with at least an `@author` tag identifying you, and preferably at least a paragraph on what the class is for. * Add the ASF license header comment to all new `.java` files (copy from existing files in the project) * Add yourself as an `@author` to the .java files that you modify substantially (more than cosmetic changes). * Add some Javadocs and, if you change the namespace, some XSD doc elements. * A few unit tests would help a lot as well -- someone has to do it. * If no-one else is using your branch, please rebase it against the current master (or other target branch in the main project). -* When writing a commit message please follow http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions], if you are fixing an existing issue please add `Fixes gh-XXXX` at the end of the commit message (where XXXX is the issue number). +* When writing a commit message please follow https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions], if you are fixing an existing issue please add `Fixes gh-XXXX` at the end of the commit message (where XXXX is the issue number). * By the way, any contributions are likely to be polished. Don't worry! Just use it as a learning experience as you are slowly jürgenized. \ No newline at end of file diff --git a/spring-session-data-mongodb-reactive-boot/src/main/resources/templates/index.html b/spring-session-data-mongodb-reactive-boot/src/main/resources/templates/index.html index ad8b128..ad2bdb7 100644 --- a/spring-session-data-mongodb-reactive-boot/src/main/resources/templates/index.html +++ b/spring-session-data-mongodb-reactive-boot/src/main/resources/templates/index.html @@ -1,5 +1,5 @@ - + Session Attributes diff --git a/spring-session-data-mongodb-traditional-boot/src/main/resources/templates/index.html b/spring-session-data-mongodb-traditional-boot/src/main/resources/templates/index.html index 1e2703e..eb6e509 100644 --- a/spring-session-data-mongodb-traditional-boot/src/main/resources/templates/index.html +++ b/spring-session-data-mongodb-traditional-boot/src/main/resources/templates/index.html @@ -1,4 +1,4 @@ - + Secured Content diff --git a/spring-session-data-mongodb-traditional-boot/src/main/resources/templates/layout.html b/spring-session-data-mongodb-traditional-boot/src/main/resources/templates/layout.html index 7a66980..8f6a961 100644 --- a/spring-session-data-mongodb-traditional-boot/src/main/resources/templates/layout.html +++ b/spring-session-data-mongodb-traditional-boot/src/main/resources/templates/layout.html @@ -1,7 +1,7 @@ - + + xmlns:th="https://www.thymeleaf.org" + xmlns:layout="https://github.com/ultraq/thymeleaf-layout-dialect"> Spring Session Sample @@ -115,7 +115,7 @@