Brian Clozel
56fdda167e
Guard against invalid paths in ResourceUrlProvider
...
This commit makes sure that no `StringIndexOutOfBoundsException` is
thrown when `getForRequestUrl` is called with a URL that's shorter than
the expected context path.
Issue: SPR-16526
(cherry picked from commit 6d26e61ac7 )
2018-03-05 15:28:36 +01:00
Juergen Hoeller
1f12214b45
Polishing
2018-03-02 13:11:31 +01:00
Rossen Stoyanchev
fb22915563
Correct log level
...
Issue: SPR-16528
2018-03-01 15:58:20 -05:00
Juergen Hoeller
c5c27f2963
Polishing
2018-03-01 01:48:26 +01:00
Juergen Hoeller
8e68ac44d2
Polishing
2018-03-01 01:12:30 +01:00
Juergen Hoeller
2c45b09263
Polishing
2018-02-28 15:08:09 +01:00
igor-suhorukov
39ddd0f349
Polish: String function use should be optimized for single characters
...
(cherry picked from commit 49fd724 )
2018-02-25 21:44:00 +01:00
Juergen Hoeller
8b071633d3
Consistent use of ClassUtils.toClassArray (and related polishing)
2018-02-22 14:27:57 +01:00
Juergen Hoeller
caed04473e
Consistent HttpMethod identity comparisons
...
(cherry picked from commit 0de36d2 )
2018-02-18 22:28:37 +01:00
Juergen Hoeller
87abdb92da
Polishing
2018-02-16 21:02:00 +01:00
Juergen Hoeller
6d11b40353
Consistent use of StringUtils.toStringArray
2018-02-16 19:48:43 +01:00
Juergen Hoeller
350f318d2e
FormTag skips rendering of hidden fields in case of empty Map
...
Issue: SPR-16498
(cherry picked from commit 6d75732 )
2018-02-16 19:47:44 +01:00
Juergen Hoeller
722cb36e01
Consistent Class array vs vararg declarations (and related polishing)
...
(cherry picked from commit 3b810f3 )
2018-02-14 16:38:28 +01:00
Juergen Hoeller
5ba37762fe
Consistent ControllerAdvice applicability against user-declared class
...
Issue: SPR-16496
(cherry picked from commit 46cbdff )
2018-02-14 16:38:21 +01:00
Juergen Hoeller
afe461609c
Polishing (selective backports from master)
2018-02-12 13:45:53 +01:00
Juergen Hoeller
8fda96cadb
AcceptHeaderLocaleResolver falls back to language-only match among its supported locales
...
Issue: SPR-16457
(cherry picked from commit 4dc9645 )
2018-02-12 13:42:33 +01:00
Juergen Hoeller
03b2d9399e
Polishing
2018-01-22 21:39:16 +01:00
Juergen Hoeller
4ccf33e36b
Javadoc format and related polishing
...
(cherry picked from commit 9d0e62e )
2018-01-22 13:08:03 +01:00
Juergen Hoeller
8c499cb10b
Polishing
2017-11-26 17:56:35 +01:00
Juergen Hoeller
f09e252417
Polishing
2017-11-21 15:25:33 +01:00
Juergen Hoeller
122a3fe9fd
ResourceHttpRequestHandler uses EmbeddedValueResolverAware
...
(cherry picked from commit 20fcefc )
2017-11-20 13:32:50 +01:00
Rossen Stoyanchev
2a309a031a
Revise charset by location support for static resources
2017-11-17 12:55:11 -05:00
Juergen Hoeller
03fef655ff
Restored support for placeholders in mvc namespace resource locations
...
With the recent charset mechanism in place, we cannot rely on implicit placeholder parsing during String-to-Resource conversion anymore.
(cherry picked from commit 7af9910 )
2017-11-16 10:03:14 +01:00
Juergen Hoeller
640c8ff693
Polishing
2017-11-14 12:31:01 +01:00
Rossen Stoyanchev
9470719cdb
Support charset config by (static) resource location
...
This commit adds support for configuring static resource locations
with a charset to be applied to relative paths.
2017-11-09 14:51:49 -05:00
Rossen Stoyanchev
97bc2762e1
Handle errors via AsyncListener
...
This is a limited backport of commit #e0678b mainly providing the fix without
exposing the onError callbacks.
Issue: SPR-16058
2017-11-08 23:10:16 -05:00
Juergen Hoeller
c92393b168
Compatibility with OpenPDF as alternative to iText 2.1.7
...
Issue: SPR-16107
(cherry picked from commit 9efdadc )
2017-10-24 14:34:37 +02:00
Juergen Hoeller
40f3fb20c2
SchedulingConfigurer and JmsListenerConfigurer respect @Order
...
Issue: SPR-16090
2017-10-23 19:03:30 +02:00
Juergen Hoeller
b0ae8f6058
ModelAttributeMethodProcessor detects re-enabled binding declaration
...
Issue: SPR-16083
(cherry picked from commit bec1fc1 )
2017-10-18 13:29:41 +02:00
Juergen Hoeller
6f65b638de
Defensive resolution of getParameterType (actually never returning null)
...
Covers use of ResolvableType in overridden getParameterType variants.
Issue: SPR-16072
2017-10-17 12:15:51 +02:00
Juergen Hoeller
97c63857c4
Allow PropertyEditor conversion as fallback for enums
...
Issue: SPR-16082
(cherry picked from commit ef6aef9 )
2017-10-17 12:15:37 +02:00
Juergen Hoeller
77bab959a3
Polishing
2017-10-16 19:59:34 +02:00
Rossen Stoyanchev
b6ca8a9018
HandlerMappingIntrospector is a bean
2017-10-09 10:44:38 -04:00
Juergen Hoeller
dbc04282e2
Polishing
2017-10-04 13:18:39 +02:00
Juergen Hoeller
40ba95f82e
Consistent configurer access in WebMvcConfigurationSupport
...
Issue: SPR-16017
2017-09-27 19:00:51 +02:00
Juergen Hoeller
cc70fdcbeb
Backport further refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 15:20:17 +02:00
Juergen Hoeller
5f167fd7f8
Polishing
2017-09-27 01:46:16 +02:00
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 00:10:04 +02:00
Juergen Hoeller
dedecb9daa
HttpEntityMethodProcessor lets entity headers override existing headers (again)
...
Issue: SPR-15952
(cherry picked from commit 5bdcb89 )
2017-09-26 23:58:49 +02:00
Juergen Hoeller
9dcdfec2e2
Properly retrieve and expose HttpServletResponse for async requests
...
Issue: SPR-15867
2017-09-08 19:40:46 +02:00
Juergen Hoeller
c752ba5b38
Polishing
2017-07-19 23:55:47 +02:00
Juergen Hoeller
e138d7d29f
Page-level JSTL time zone support for JSP tags
...
Issue: SPR-15746
2017-07-12 22:59:42 +02:00
Juergen Hoeller
b35c238d27
Cleanup of duplicate semicolons
...
Issue: SPR-15654
(cherry picked from commit 779deb0 )
2017-06-30 16:06:05 +02:00
Rossen Stoyanchev
8c206bf477
Improve docs on forwarded headers
...
Issue: SPR-15612
2017-06-01 22:37:34 -04:00
skarafaz
e2aa117ff9
Find exact matches in WebJarsResourceResolver
...
Prior to this commit, resolving resources from webjars using the
`WebJarAssetLocator.getFullPath` could lead to multiple candidates,
since this method is trying to find *any* resource matching that path
under the given webjar location.
This commit replaces that call with
`WebJarAssetLocator.getFullPathExact`, which avoids those multiple
matches and only resolves resources if the given path is exact.
Issue: SPR-15526
2017-05-24 10:45:38 +02:00
Martin Švorc
e0a7b074ed
Use original query string of forwarded request
...
Prior to this commit, the AbstractFlashMapManager has used the
originating URI but the query string of the forwarded request. That
resulted to FlashMap not being matched even when both originating
URI and query string matched the FlashMap attributes. The originating
query string is now used to match the forwarded request.
Issue: SPR-15505
2017-05-19 17:07:17 -04:00
Juergen Hoeller
78931ee3ea
Polishing
2017-05-07 21:41:26 +02:00
Juergen Hoeller
e522fec611
HandlerExecutionChain.toString() includes reliable interceptor number
...
Issue: SPR-15525
(cherry picked from commit 92f18a4 )
2017-05-07 21:26:01 +02:00
Juergen Hoeller
1332482c40
Polishing
2017-05-04 14:09:15 +02:00
Juergen Hoeller
799589ec1c
Revised javadoc
...
Issue: SPR-15466
2017-05-04 14:08:14 +02:00