Go to file
Brian Clozel bc29fb5a09 Do not execute ResourceUrlEncodingFilter only once per request
In case the filter is also registered to the ERROR dispatcher, the
following happens:
* the filter is executed once for the regular execution
* the filter should be executed a second time when dispatched to error

Since the filter is a `OncePerRequestFilter`, the filter is only
executed once and won't be executed when handling the error.

This can lead to situations like spring-projects/spring-boot#7348

This commit makes this filter a simple `GenericFilterBean`.

Issue: SPR-14891
2016-11-24 10:03:08 +01:00
.settings/gradle
buildSrc/src/main
gradle
spring-aop/src DefaultListableBeanFactory allows early type matching against ScopedProxyFactoryBean 2016-10-31 11:50:02 +01:00
spring-aspects
spring-beans/src Consistent 4.x style NoClassDefFoundError handling 2016-11-07 19:13:00 +01:00
spring-beans-groovy/src/main Consistent instanceof/casting of Class references 2016-10-31 11:50:59 +01:00
spring-context Detect invalid configuration for autoGrowCollectionLimit on DataBinder 2016-11-08 17:47:29 +01:00
spring-context-support/src
spring-core/src ASM-generated class names get interned for better memory allocation 2016-11-08 17:47:14 +01:00
spring-expression Rework compilation of OpNE/OpEQ SpEL operators 2016-11-02 12:40:24 +01:00
spring-framework-bom
spring-instrument/src
spring-instrument-tomcat/src
spring-jdbc/src Consistent instanceof/casting of Class references 2016-10-31 11:50:59 +01:00
spring-jms/src Consistent instanceof/casting of Class references 2016-10-31 11:50:59 +01:00
spring-messaging/src Polishing 2016-11-03 23:20:33 +01:00
spring-orm/src
spring-orm-hibernate4/src
spring-orm-hibernate5/src/main/java/org/springframework/orm/hibernate5 LocalSessionFactoryBean clears default MetadataSources on reinitialization 2016-10-31 11:53:10 +01:00
spring-oxm
spring-test Polishing 2016-11-03 23:20:33 +01:00
spring-tx/src DataSourceTransactionManager triggers flush callbacks on registered transaction synchronizations 2016-10-31 11:44:17 +01:00
spring-web/src Fix TLS detection in URLs for Netty Client RequestFactory 2016-11-11 16:49:18 +01:00
spring-webmvc/src Do not execute ResourceUrlEncodingFilter only once per request 2016-11-24 10:03:08 +01:00
spring-webmvc-portlet/src
spring-webmvc-tiles2/src
spring-websocket/src Avoid locking in WebSocket session "close" callback 2016-11-23 20:58:22 -05:00
src Polish doc 2016-11-17 07:25:42 +09:00
.gitignore
.mailmap
CODE_OF_CONDUCT.adoc
CONTRIBUTING-DOCUMENTATION.adoc
CONTRIBUTING.md
README.md
build.gradle Upgrade to OkHttp 3.4.2 and Tiles 3.0.7 2016-11-04 14:55:37 +01:00
gradle.properties Next Development Version 2016-11-07 21:35:52 +00:00
gradlew
gradlew.bat
import-into-eclipse.bat
import-into-eclipse.sh
import-into-idea.md
settings.gradle

README.md

Spring Framework

The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications -- on any kind of deployment platform. A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

The framework also serves as the foundation for Spring Integration, Spring Batch and the rest of the Spring family of projects. Browse the repositories under the Spring organization on GitHub for a full list.

Code of Conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Downloading Artifacts

See downloading Spring artifacts for Maven repository information. Unable to use Maven or other transitive dependency management tools? See building a distribution with dependencies.

Documentation

See the current Javadoc and reference docs.

Getting Support

Check out the spring tags on Stack Overflow. Commercial support is available too.

Issue Tracking

Report issues via the Spring Framework JIRA. Understand our issue management process by reading about the lifecycle of an issue. Think you've found a bug? Please consider submitting a reproduction project via the spring-framework-issues GitHub repository. The readme there provides simple step-by-step instructions.

Building from Source

The Spring Framework uses a Gradle-based build system. In the instructions below, ./gradlew is invoked from the root of the source tree and serves as a cross-platform, self-contained bootstrap mechanism for the build.

Prerequisites

Git and JDK 8 update 20 or later

Be sure that your JAVA_HOME environment variable points to the jdk1.8.0 folder extracted from the JDK download.

Check out sources

git clone git@github.com:spring-projects/spring-framework.git

Import sources into your IDE

Run ./import-into-eclipse.sh or read import-into-idea.md as appropriate.

Note: Per the prerequisites above, ensure that you have JDK 8 configured properly in your IDE.

Install all spring-* jars into your local Maven cache

./gradlew install

Compile and test; build all jars, distribution zips, and docs

./gradlew build

... and discover more commands with ./gradlew tasks. See also the Gradle build and release FAQ.

Contributing

Pull requests are welcome; see the contributor guidelines for details.

Staying in Touch

Follow @SpringCentral as well as @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.