Juergen Hoeller
5bfa82db12
Javadoc fixes
...
(cherry picked from commit 9bb72e8 )
10 years ago
Juergen Hoeller
97148ce889
Polishing
10 years ago
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 )
10 years ago
Juergen Hoeller
55494362ef
SimpAnnotationMethodMessageHandler skips template variable check in case of no pattern
...
Issue: SPR-13704
(cherry picked from commit e8417ea )
10 years ago
Juergen Hoeller
393e36c29e
Latest applicable server engine updates (Jetty 9.2.14, Netty 4.0.33, Undertow 1.1.9)
11 years ago
Juergen Hoeller
5a95156dcc
Fixed class name in debug log message
11 years ago
Juergen Hoeller
71fc2ba174
Polishing
11 years ago
Juergen Hoeller
48838d48d2
Fixed various code examples in documentation
...
Issue: SPR-13666
Issue: SPR-13485
Issue: SPR-10474
11 years ago
Juergen Hoeller
5d6aab34cb
Reduced warn log entry without stacktrace for startup exceptions
...
Also, AbstractApplicationContext.isRunning avoids IllegalStateException now.
Issue: SPR-13663
Issue: SPR-13667
11 years ago
Juergen Hoeller
90a288513c
MethodInvokeTypeProvider lazily invokes target method (avoiding deserialization exploits)
...
Issue: SPR-13656
(cherry picked from commit ea2843e )
11 years ago
Juergen Hoeller
df49b11758
CommonsMultipartFile removes mixed separator paths from original filename
...
Issue: SPR-13662
(cherry picked from commit 5d9d88c )
11 years ago
Juergen Hoeller
d1f5ee2643
Avoid NPE for anonymous SqlParameter in CallMetaDataContext
...
Issue: SPR-13628
(cherry picked from commit 6685c78 )
11 years ago
Juergen Hoeller
0f4e4fcca6
Declared JDBC operation compiled flag as volatile
...
Issue: SPR-13617
(cherry picked from commit 81342f1 )
11 years ago
Rossen Stoyanchev
a8c7220fc7
Fix failing tests
11 years ago
Rossen Stoyanchev
92ca537d61
Switch "attachment" to "inline" on Content-Disposition
...
Issue: SPR-13587, SPR-13643
11 years ago
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
11 years ago
Rossen Stoyanchev
cde4431c80
Add containsKey to ServletResponseHttpHeaders
...
Issue: SPR-13668
11 years ago
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
11 years ago
Rossen Stoyanchev
71a9eb7102
Add section on RFD + whitelist yml/properties/csv
...
Issue: SPR-13643
11 years ago
Rossen Stoyanchev
e190f26669
No Content-Disposition if HTML in the request mapping
...
Issue: SPR-13629
11 years ago
Rossen Stoyanchev
0f1897d376
Further improve Detect custom CNVR
...
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
11 years ago
Rossen Stoyanchev
563a120280
Detect custom ContentNegotiationViewResolver
...
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
11 years ago
Brian Clozel
78fc5bbecc
Don't throw NPE when serving webjar directories
...
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
11 years ago
Rossen Stoyanchev
a879897063
Skip Content-Disposition header if status != 2xx
...
Issue: SPR-13588
11 years ago
Spring Buildmaster
0016752ad8
Next Development Version
11 years ago
Rossen Stoyanchev
a95c3d820d
Protect against RFD exploits
...
Issue: SPR-13548
11 years ago
Juergen Hoeller
271e5fd76a
Reverted StrictMapAppenderConstructor constructor back to public
...
Issue: SPR-13504
(cherry picked from commit 627393a )
11 years ago
Juergen Hoeller
5d36ac08ef
Added missing @since tags to DeferredResult
11 years ago
Brian Clozel
49393e54a1
Build 4.1.8 SNAPSHOTs
11 years ago
Juergen Hoeller
302a069257
AbstractFileResolvingResource uses extractArchiveURL for last-modified check
...
Issue: SPR-13393
11 years ago
Juergen Hoeller
c33c26ac5d
Support for GlassFish 4.1.1 (Tyrus 1.9 - 1.12)
...
Issue: SPR-13566
11 years ago
Rossen Stoyanchev
0086dd830b
Enforce cacheLimit in DefaultSubscriptionRegistry
...
When the cacheLimit is reached and there is an eviction from the
updateCache, the accessCache is now also updated.
This change also ensures that adding a destination to the cache is
protected with synchronization on the updateCache.
Issue: SPR-13555
11 years ago
Juergen Hoeller
799a03e98d
Polishing
11 years ago
Juergen Hoeller
c0b6d320f1
Updated compatibility statements in RequestUpgradeStrategy javadocs
11 years ago
Juergen Hoeller
d7a418356e
Upgrade to Tomcat 8.0.28
11 years ago
Juergen Hoeller
13283ec918
Polishing
11 years ago
Juergen Hoeller
ca60d796a8
Clarified that getBody() never returns null
...
As the only place that historically differed, HttpComponents(Async)ClientHttpResponse returns an empty stream instead of null now.
Issue: SPR-13563
(cherry picked from commit a5f81a0 )
11 years ago
Juergen Hoeller
16cb73673e
Fixed ContentNegotiationManager reference in MVC docs
...
Issue: SPR-13558
11 years ago
Juergen Hoeller
196adbd459
Polishing
11 years ago
Juergen Hoeller
de932903ca
Reliable null value handling in ConcurrentMapCache, GuavaCache, JCacheCache
...
The 4.1 variant of this fix just introduces readResolve declarations to the existing NullHolder classes.
Issue: SPR-13553
11 years ago
Juergen Hoeller
57125c0adc
AbstractApplicationContext refinements (backported from 4.2.2)
...
Shutdown hook triggers doClose within startupShutdownMonitor; allow for re-refresh and re-close.
Issue: SPR-13556
Issue: SPR-13425
11 years ago
Juergen Hoeller
50c59425d9
Consistently detect spring-beans.dtd reference in last path segment
...
Issue: SPR-13549
(cherry picked from commit 8b3b8d0 )
11 years ago
Sam Brannen
fe36334232
Dispel myth that Spring MVC Test requires JUnit
...
Issue: SPR-13552
11 years ago
Juergen Hoeller
e0a139a0d4
Latest applicable dependency updates (Netty 4.0.32, Tomcat 8.0.27)
11 years ago
Juergen Hoeller
3c549ef9fa
Polishing
11 years ago
Juergen Hoeller
8429c4be74
Revised TransportHandlingSockJsService for defensive transport checking and consistent logging
...
Issue: SPR-13545
(cherry picked from commit 966f95b )
11 years ago
Juergen Hoeller
be90f7ddd4
PathResourceTests defensively compares last-modified timestamps at seconds precision
...
Issue: SPR-13542
(cherry picked from commit 9cf2895 )
11 years ago
Juergen Hoeller
315a848e6e
Portlet MVC documentation consistently refers to Portlet 2.0 spec (JSR-286)
...
Issue: SPR-13513
11 years ago
Juergen Hoeller
1239595672
Polishing
11 years ago
Rossen Stoyanchev
4428c347a5
StompDecoder handles partial headers correctly
...
Issue: SPR-13416
11 years ago