- 16 12月, 2015 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Brian Clozel 提交于
In several places in the spring-webmvc module, URL patterns / objects relationships are kept in `HashMap`s. When matching with actual URLs, the algorithm uses a pattern comparator to sort the matching patterns and select the most specific. But the underlying collection implementation does not keep the original order which can lead to inconsistencies. This commit changes the underlying collection implementation to `LinkedHashmap`s, in order to keep the insert order if the comparator does not reorder entries. Issue: SPR-13798
-
- 15 12月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 13 12月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 12 12月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 11 12月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13757
-
- 09 12月, 2015 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12926
-
由 Juergen Hoeller 提交于
Issue: SPR-13776
-
- 05 12月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13762
-
- 02 12月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 01 12月, 2015 1 次提交
-
-
由 Brian Clozel 提交于
Prior to this change, the resource handling FixedVersionStrategy would be applied on all links that match the configured pattern. This is problematic for relative links and can lead to rewritten links such as "/fixedversion/../css/main.css" which breaks. This commit prevents that Strategy from being applied to such links. Of course, one should avoid to use that VersionStrategy with relative links, but this change aims at not breaking existing links even if it means not prefixing the version as expected. Issue: SPR-13727
-
- 26 11月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13725
-
- 25 11月, 2015 1 次提交
-
-
由 Brian Clozel 提交于
Prior to this commit, range requests would be served by ResourceHttpRequestHandler by partially reading the inputstream of static resources. In case of resources contained in ZIP/JAR containers, InputStreams may not fill the entire read buffer when calling `inputStream.read(byte[])`. This was the case when using Spring Boot's ZipInflaterInputStream - this would then not read the entire file content and would close the response without writing the expected body length indicated in the "Content-Length" header. This commit makes sure that the whole resource is read. Issue: SPR-13661
-
- 12 11月, 2015 2 次提交
-
-
由 Johnny Lim 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13587, SPR-13643
-
- 09 11月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13654
-
- 07 11月, 2015 3 次提交
-
-
由 Rossen Stoyanchev 提交于
This commit expands the range of whitelisted extensions by checking if an extension can be resolved to image/*, audo/*, video/*, as well as any content type that ends with +xml. Issue: SPR-13643
-
由 Rossen Stoyanchev 提交于
We know skip the Content-Disposition header for any extension if the chosen request mapping explicitly contains the URl extension. Issue: SPR-13629
-
由 Brian Clozel 提交于
Prior to this change, the HttpEntityMethodProcessor would try to process conditional requests that are undefined by the spec, such as: * an HTTP GET request with "If-None-Match:*" * a request with both "If-None-Match" and "If-Match" * a request with both "If-None-Match" and "If-Unmodified-Since" This commit skips the processing of those requests as conditional requests and continues with normal request handling. Issue: SPR-13626
-
- 06 11月, 2015 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13642
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13643
-
- 03 11月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13629
-
- 02 11月, 2015 3 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-13611
-
由 Sebastien Deleuze 提交于
Issue: SPR-13596
-
- 30 10月, 2015 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Refine the approach of having <mvc:view-resolvers> detect and use the ContentNegotiationManager instance registered with <mvc:annotation-driven> introduced in the last commit. Issue: SPR-13559
-
由 Rossen Stoyanchev 提交于
The <mvc:annotation-driven> element now adds an alias when a ContentNegotiationManager bean is registered with a custom name. This helps <mvc:view-resolvers> to more reliably find such a custom ContentNegotiationManager. Issue: SPR-13559
-
- 29 10月, 2015 2 次提交
-
-
由 Brian Clozel 提交于
Prior to this change, serving resources with ResourceHttpRequestHandler could result in NPE when requesting an existing folder located in a JAR. This commit swallows those exceptions, as it is not possible to foresee those cases without reading the actual resource. This result in a HTTP 200 response with a zero Content-Length instead of a HTTP 500 internal exception. Issue: SPR-13620
-
由 Juergen Hoeller 提交于
Issue: SPR-13520
-
- 28 10月, 2015 3 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-13505
-
由 Juergen Hoeller 提交于
Issue: SPR-13616
-
- 27 10月, 2015 3 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13591
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13588
-
- 15 10月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13548
-
- 13 10月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 10 10月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13557
-
- 08 10月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13546
-
- 06 10月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
-