Go to file
Sam Brannen a92441186c Check for valid IPv6 host in UriComponentsBuilder.fromUriString
PR gh-358 introduced a "scheme but no host" check in the fromHttpUrl()
method in UriComponentsBuilder, but a similar check was not added to
fromUriString() at that time.

This commit introduces a "scheme but no host" check in fromUriString()
to align with the functionality in fromHttpUrl().

Note, however that the regular expressions used to match against the
hostname or IP address are inexact and still permit invalid host names
or IP addresses. True validation of the host portion of the URI is out
of scope for this commit.

Closes gh-25334
2020-06-29 18:36:21 +02:00
.github Configure Gradle wrapper validation action 2020-06-02 14:43:45 +02:00
buildSrc Upgrade to Gradle Enterprise 3.2 2020-04-29 10:54:03 +02:00
ci Upgrade JDK 15 CI image to JDK 15 build 28 2020-06-21 19:33:51 +02:00
framework-bom Remove BOM workaround 2020-04-28 15:14:02 +02:00
gradle Upgrade to Gradle 6.5 2020-06-03 14:10:47 +02:00
integration-tests Polish SerializationTestUtils, clean up warnings, etc. 2020-06-20 18:17:03 +02:00
spring-aop Merge branch '5.2.x' 2020-06-27 14:34:18 +02:00
spring-aspects Merge branch '5.2.x' 2020-06-23 12:01:24 +02:00
spring-beans Avoid package cycle through dedicated ResourcePropertiesPersister 2020-06-23 16:54:55 +02:00
spring-context Avoid package cycle through dedicated ResourcePropertiesPersister 2020-06-23 16:54:55 +02:00
spring-context-indexer Polish contribution 2020-03-26 16:52:24 +01:00
spring-context-support Deprecate TransactionSynchronizationAdapter 2020-06-17 11:02:31 +02:00
spring-core Shared static instance of DefaultDataBufferFactory 2020-06-24 16:12:56 +01:00
spring-expression Upgrade to AssertJ 3.16 2020-05-06 15:22:23 +02:00
spring-instrument Delete obsolete log4j config 2020-03-18 17:01:01 +01:00
spring-jcl Polishing 2020-01-28 21:56:35 +01:00
spring-jdbc Clean up warnings in Gradle build, polishing, etc. 2020-06-24 15:02:24 +02:00
spring-jms Polish SerializationTestUtils, clean up warnings, etc. 2020-06-20 18:17:03 +02:00
spring-messaging Shared static instance of DefaultDataBufferFactory 2020-06-24 16:12:56 +01:00
spring-orm Clean up warnings in Gradle build, polishing, etc. 2020-06-24 15:02:24 +02:00
spring-oxm Suppress warnings, remove unused code, etc. 2020-06-20 17:15:35 +02:00
spring-r2dbc Shared static instance of DefaultDataBufferFactory 2020-06-24 16:12:56 +01:00
spring-test Shared static instance of DefaultDataBufferFactory 2020-06-24 16:12:56 +01:00
spring-tx Merge branch '5.2.x' 2020-06-23 23:26:52 +02:00
spring-web Check for valid IPv6 host in UriComponentsBuilder.fromUriString 2020-06-29 18:36:21 +02:00
spring-webflux Shared static instance of DefaultDataBufferFactory 2020-06-24 16:12:56 +01:00
spring-webmvc Clean up warnings in Gradle build, polishing, etc. 2020-06-24 15:02:24 +02:00
spring-websocket Suppress warnings, remove unused code, etc. 2020-06-20 17:15:35 +02:00
src Merge branch '5.2.x' 2020-06-23 17:10:33 +02:00
.editorconfig Add EditorConfig 2017-06-12 08:07:54 +02:00
.gitattributes Ensure line endings for binary files are not modified in Git 2019-10-18 11:56:18 +02:00
.gitignore Rename non-Framework project modules 2019-08-21 14:32:25 +02:00
.mailmap Change gopivotal.com to pivotal.io 2014-10-05 18:12:50 +02:00
CODE_OF_CONDUCT.adoc URL Cleanup 2019-03-21 15:08:55 -05:00
CONTRIBUTING.md Update StackOverflow link 2020-04-20 12:32:11 +01:00
LICENSE.txt Add LICENSE.txt file 2019-08-20 22:01:12 +02:00
README.md Add JMH benchmark infrastructure 2020-05-13 21:29:02 +02:00
SECURITY.md Create SECURITY.md 2019-05-23 11:36:52 -04:00
build.gradle Merge branch '5.2.x' 2020-06-23 23:26:52 +02:00
gradle.properties Next Development Version 2020-06-09 06:51:55 +00:00
gradlew Upgrade to Gradle 6.4 2020-05-06 14:25:41 +02:00
gradlew.bat Upgrade to Gradle 6.4 2020-05-06 14:25:41 +02:00
import-into-eclipse.md Polishing regarding AJDT versions 2020-01-13 17:15:27 +01:00
import-into-idea.md URL Cleanup 2019-03-21 15:08:55 -05:00
settings.gradle Include module names into alphabetical order 2020-06-24 16:08:21 +02:00

README.md

Spring Framework Build Status

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are often referred to simply as "Spring".

Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section as reference for a more complete introduction.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Access to Binaries

For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.

Documentation

The Spring Framework maintains reference documentation (published and source), Github wiki pages, and an API reference. There are also guides and tutorials across Spring projects.

Micro-Benchmarks

See the Micro-Benchmarks Wiki page.

Build from Source

See the Build from Source Wiki page and the CONTRIBUTING.md file.

Stay in Touch

Follow @SpringCentral, @SpringFramework, and its team members on Twitter. In-depth articles can be found at The Spring Blog, and releases are announced via our news feed.

License

The Spring Framework is released under version 2.0 of the Apache License.