Juergen Hoeller
e4faaa3786
Reset BytesMessage after payload extraction
...
Issue: SPR-13769
(cherry picked from commit 8346eed )
2015-12-09 14:50:56 +01:00
Juergen Hoeller
d04f785094
Introduced createMethodJmsListenerEndpoint template method
...
Issue: SPR-13774
(cherry picked from commit 9589749 )
2015-12-09 14:50:32 +01:00
Juergen Hoeller
e37b75b165
Upgrade to Tomcat 8.0.30
2015-12-07 21:35:00 +01:00
Juergen Hoeller
f54aac1003
Polishing
2015-12-07 19:44:07 +01:00
Juergen Hoeller
c2fed6e7f1
StatementCreatorUtils detects Microsoft SQL Server driver 4.0 as well
...
Issue: SPR-13772
(cherry picked from commit d2ad2c3 )
2015-12-07 19:20:04 +01:00
Juergen Hoeller
242acda970
Javadoc fixes
...
Issue: SPR-13765
2015-12-07 19:19:33 +01:00
Juergen Hoeller
66c44524d7
AbstractRequestLoggingFilter unwraps request to find ContentCachingRequestWrapper
...
Issue: SPR-13764
(cherry picked from commit b1ef6ec )
2015-12-07 19:17:01 +01:00
Juergen Hoeller
0230c49a82
AnnotationConfigWebApplicationContext allows for custom AnnotatedBeanDefinitionReader/ClassPathBeanDefinitionScanner
...
Issue: SPR-9324
(cherry picked from commit 20beace )
2015-12-07 19:15:39 +01:00
Rossen Stoyanchev
f7f801c501
Configure view controllers with ApplicationContext
...
Issue: SPR-13762
2015-12-04 13:21:38 -05:00
Juergen Hoeller
83c9ec43da
Efficient and consistent setAllowedOrigins collection type
...
Issue: SPR-13761
(cherry picked from commit 3d1ae9c )
2015-12-04 18:51:02 +01:00
Juergen Hoeller
d03d8cb456
WebSocket namespace consistently applies resolvable allowed-origins value
...
Issue: SPR-13760
(cherry picked from commit cd4ce87 )
2015-12-04 17:05:20 +01:00
Juergen Hoeller
6963e27c7a
ControllerAdviceBean accepts bean types without @ControllerAdvice annotation (as in 3.2)
...
Issue: SPR-13759
(cherry picked from commit d64ac32 )
2015-12-04 17:03:28 +01:00
Juergen Hoeller
7a7877040f
Polishing
2015-12-03 21:18:58 +01:00
Juergen Hoeller
e38cea610c
Polishing
2015-12-03 13:35:13 +01:00
Juergen Hoeller
57d980130e
Avoid mismatch between cached top-level versus nested parameter type
...
Issue: SPR-13755
(cherry picked from commit c909789 )
2015-12-03 13:35:06 +01:00
Rossen Stoyanchev
ff8bbc93f3
lastSessionCheckTime updated after session check
...
Issue: SPR-13745
2015-12-02 15:29:23 -05:00
Juergen Hoeller
6f11d4f06c
Backported fix for lower-case media type lookups
...
Issue: SPR-13747
2015-12-02 14:42:40 +01:00
Brian Clozel
f53d01b00a
Do not rewrite relative links with FixedVersionStrategy
...
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
(cherry picked from commit c226753 )
2015-12-02 14:29:07 +01:00
Juergen Hoeller
b3eefa2ae0
Documented units for send-time limit and buffer-size limit
...
Issue: SPR-13753
(cherry picked from commit 747863d )
2015-12-02 14:09:29 +01:00
Juergen Hoeller
5ac42bf9f8
Fixed formatting in AOP documentation
...
Issue: SPR-13750
2015-12-02 14:08:16 +01:00
Juergen Hoeller
79ded1ca72
MockHttpServletResponse.setIntHeader supports 'Content-Length' header as well
...
Issue: SPR-13752
(cherry picked from commit a4f5c46 )
2015-12-02 14:07:15 +01:00
Juergen Hoeller
fad0c9589d
Latest applicable dependency updates (JOpt Simple 4.9, C3P0 0.9.5.1, H2 1.4.190, HSQLDB 2.3.3)
2015-12-01 21:03:55 +01:00
Juergen Hoeller
85863a5442
Polishing
2015-12-01 19:16:16 +01:00
Juergen Hoeller
948ab21f43
Aligned class name quoting with ConversionFailedException
...
(cherry picked from commit 7589c1f )
2015-12-01 19:16:11 +01:00
Juergen Hoeller
c56d1a6677
Document destruction callback behavior for inner beans in case of scope mismatch
...
Issue: SPR-13739
(cherry picked from commit 998da2f )
2015-11-30 22:16:18 +01:00
Juergen Hoeller
e6d3c28ec2
Avoid instantiation of non-selected beans in BeanFactoryAnnotationUtils.qualifiedBeanOfType
...
Issue: SPR-13741
(cherry picked from commit 8ed2c47 )
2015-11-30 22:03:25 +01:00
Juergen Hoeller
a730b6e1aa
Backported exception message refinements from 4.2.x
2015-11-30 12:24:38 +01:00
Juergen Hoeller
6c4f0a4d9f
Backported conversion service test updates from 4.2.x
2015-11-30 12:18:56 +01:00
Juergen Hoeller
3bc2a97776
Unit tests for @Value Resource resolution
...
Issue: SPR-13731
(cherry picked from commit def1034 )
2015-11-30 12:11:15 +01:00
Juergen Hoeller
ce315b223e
Upgrade to Tomcat 8.0.29 and SLF4J 1.7.13
2015-11-27 13:52:20 +01:00
Juergen Hoeller
5bfa82db12
Javadoc fixes
...
(cherry picked from commit 9bb72e8 )
2015-11-27 13:51:51 +01:00
Juergen Hoeller
97148ce889
Polishing
2015-11-26 01:10:31 +01:00
Andy Clement
e410129aaf
Ensure cast correctly included for OpPlus compilation
...
When the plus operator is used between strings in a SpEL
expression and that expression is compiled, it is
important to include a cast if computation of any of
the operands isn't obviously leaving strings on the
stack. Likewise if the stack contents are known to
be strings, a cast should not be included.
Issue: SPR-12426
(cherry picked from commit 58756b0 )
2015-11-26 01:10:04 +01:00
Juergen Hoeller
55494362ef
SimpAnnotationMethodMessageHandler skips template variable check in case of no pattern
...
Issue: SPR-13704
(cherry picked from commit e8417ea )
2015-11-26 01:09:57 +01:00
Juergen Hoeller
393e36c29e
Latest applicable server engine updates (Jetty 9.2.14, Netty 4.0.33, Undertow 1.1.9)
2015-11-15 00:25:20 +01:00
Juergen Hoeller
5a95156dcc
Fixed class name in debug log message
2015-11-14 23:58:27 +01:00
Juergen Hoeller
71fc2ba174
Polishing
2015-11-14 23:32:36 +01:00
Juergen Hoeller
48838d48d2
Fixed various code examples in documentation
...
Issue: SPR-13666
Issue: SPR-13485
Issue: SPR-10474
2015-11-14 23:32:07 +01:00
Juergen Hoeller
5d6aab34cb
Reduced warn log entry without stacktrace for startup exceptions
...
Also, AbstractApplicationContext.isRunning avoids IllegalStateException now.
Issue: SPR-13663
Issue: SPR-13667
2015-11-14 23:27:20 +01:00
Juergen Hoeller
90a288513c
MethodInvokeTypeProvider lazily invokes target method (avoiding deserialization exploits)
...
Issue: SPR-13656
(cherry picked from commit ea2843e )
2015-11-14 23:25:35 +01:00
Juergen Hoeller
df49b11758
CommonsMultipartFile removes mixed separator paths from original filename
...
Issue: SPR-13662
(cherry picked from commit 5d9d88c )
2015-11-14 23:16:13 +01:00
Juergen Hoeller
d1f5ee2643
Avoid NPE for anonymous SqlParameter in CallMetaDataContext
...
Issue: SPR-13628
(cherry picked from commit 6685c78 )
2015-11-14 23:15:06 +01:00
Juergen Hoeller
0f4e4fcca6
Declared JDBC operation compiled flag as volatile
...
Issue: SPR-13617
(cherry picked from commit 81342f1 )
2015-11-14 23:12:46 +01:00
Rossen Stoyanchev
a8c7220fc7
Fix failing tests
2015-11-11 18:04:28 -05:00
Rossen Stoyanchev
92ca537d61
Switch "attachment" to "inline" on Content-Disposition
...
Issue: SPR-13587, SPR-13643
2015-11-11 17:47:34 -05:00
Rossen Stoyanchev
f5f57e9544
Expand range of whitelisted extensions by media type
...
This commit expands the range of whitelisted extensions by checking
if an extension can be resolved to image/*, audio/*, video/*, as well
as any content type that ends with +xml.
Issue: SPR-13643
2015-11-11 17:46:36 -05:00
Rossen Stoyanchev
cde4431c80
Add containsKey to ServletResponseHttpHeaders
...
Issue: SPR-13668
2015-11-11 14:28:34 -05:00
Rossen Stoyanchev
d500d523e7
Whitelist extension if present in the request mapping
...
We know skip the Content-Disposition header for any extension if the
chosen request mapping explicitly contains the URl extension.
Issue: SPR-13629
2015-11-06 12:45:40 -05:00
Rossen Stoyanchev
71a9eb7102
Add section on RFD + whitelist yml/properties/csv
...
Issue: SPR-13643
2015-11-05 19:42:30 -05:00
Rossen Stoyanchev
e190f26669
No Content-Disposition if HTML in the request mapping
...
Issue: SPR-13629
2015-11-02 13:13:37 -05:00