Juergen Hoeller
5be50c8e5e
Polishing
...
Issue: SPR-12462
11 years ago
Brian Clozel
1214624265
Fix location checks for servlet 3 resources
...
SPR-12354 applied new checks to make sure that served static resources
are under authorized locations.
Prior to this change, serving static resources from Servlet 3 locations
such as "/webjars/" would not work since those locations can be within
one of the JARs on path. In that case, the checkLocation method would
return false and disallow serving that static resource.
This change fixes this issue by making sure to call the
`ServletContextResource.getPath()` method for servlet context resources.
Note that there's a known workaround for this issue, which is using a
classpath scheme as location, such as:
"classpath:/META-INF/resources/webjars/" instead of "/webjars".
Issue: SPR-12432
(cherry picked from commit 161d3e3 )
11 years ago
Brian Clozel
493e8463fa
Use https for maven repositories
...
(cherry picked from commit 44ff143 )
11 years ago
Juergen Hoeller
6d3a0d5735
Polishing
11 years ago
Juergen Hoeller
5f58cd3b79
Polishing
...
(cherry picked from commit 2675ce7 )
11 years ago
Juergen Hoeller
8854c33bf7
Rearranged WebAsyncTask constructor interdependencies and assertions
...
Issue: SPR-12457
(cherry picked from commit aadb93f )
11 years ago
Juergen Hoeller
f093a5f749
RequestMappingHandlerAdapter allows for overriding handleInternal
...
Issue: SPR-12460
(cherry picked from commit ece2c90 )
11 years ago
Juergen Hoeller
1f45dd297d
Unit test for JavaBeans introspection against FreeMarker Configuration class
...
Issue: SPR-12448
(cherry picked from commit 282aded )
11 years ago
Juergen Hoeller
21b8ce5284
MethodParameter generally uses volatile variables where applicable now (as well as a local copy of the parameterNameDiscoverer field)
...
Issue: SPR-12453
(cherry picked from commit 7fcadaa )
11 years ago
Juergen Hoeller
2490d1b38d
MutablePropertySources uses an internal CopyOnWriteArrayList for defensiveness against concurrent modifications
...
Issue: SPR-12428
(cherry picked from commit 1ef06cc )
11 years ago
Spring Buildmaster
ffa4736895
Next Development Version
12 years ago
Rossen Stoyanchev
9beae9ae42
Apply extra checks to static resource handling
...
- remove leading '/' and control chars
- improve url and relative path checks
- account for URL encoding
- add isResourceUnderLocation final verification
Issue: SPR-12354
12 years ago
Juergen Hoeller
e42e2330b3
Polishing
12 years ago
Sebastien Deleuze
b331d65019
Check STOMP headers against ending backslash
...
Issue: SPR-12418
(cherry picked from commit 1803348 )
12 years ago
Juergen Hoeller
1823ce1fad
ShallowEtagHeaderFilter skips "Cache-Control" header check on Servlet 2.5
...
Issue: SPR-12414
(cherry picked from commit bf9295b )
12 years ago
Rossen Stoyanchev
2d0a677117
Improve exception message
...
Issue: SPR-12230
(cherry picked from commit 7f4bf41 )
12 years ago
Sam Brannen
a09bc9b1c1
Log context cache statistics in the TCF
...
Prior to this commit, finding out how many application contexts had
been loaded within a test suite required the use of reflection and a
bit of hacking.
This commit addresses this issue by logging ContextCache statistics
whenever an application context is loaded by the Spring TestContext
Framework (TCF).
The log output can be enabled by setting the
"org.springframework.test.context.cache" logging category to DEBUG.
Issue: SPR-12409
(cherry picked from commit da04362 )
12 years ago
Stephane Nicoll
260b451d5f
Add documentation for the keep-alive flag
...
This commit updates the documentation of the task:executor element to
reference the keep-alive flag.
Issue: SPR-12407
(cherry picked from commit 6534d00 )
12 years ago
Juergen Hoeller
acefd8381d
Polishing
12 years ago
Juergen Hoeller
7fa3e65d04
Test for cyclic type declaration handling in TypeDescriptor
...
Issue: SPR-9735
12 years ago
Juergen Hoeller
329ba2a913
Removed outdated TimerTaskExecutor reference (and other minor doc updates)
...
Issue: SPR-12389
12 years ago
Juergen Hoeller
f691618967
Polishing
12 years ago
Juergen Hoeller
fde0713a94
Upgrade to Hibernate 4.2.16 (and AspectJ 1.8.3)
12 years ago
Juergen Hoeller
4729483804
HibernateJpaSessionFactoryBean is compatible with Hibernate 4.3 as well now
...
Issue: SPR-12401
(cherry picked from commit bf5739c )
12 years ago
Juergen Hoeller
d3ec48f490
PersistenceAnnotationBeanPostProcessor correctly detects JPA 2.1 synchronization attribute
...
Issue: SPR-12396
(cherry picked from commit a181b40 )
12 years ago
Juergen Hoeller
2d874d724b
SimpleMetadataReaderFactory is capable of resolving inner class names with dot syntax now (analogous to ClassUtils.forName)
...
Issue: SPR-12390
(cherry picked from commit 725ad0d )
12 years ago
Juergen Hoeller
91940f212e
Normalized AnnotationAttributesReadingVisitor class layout and improved diagnostics through delegating to AnnotationUtils
...
Issue: SPR-12387
(cherry picked from commit b70c5d1 )
12 years ago
Juergen Hoeller
de8645b30c
Test for <util:map> with LinkedCaseInsensitiveMap and specified key/value types
...
Issue: SPR-10994
(cherry picked from commit 9243869 )
12 years ago
Juergen Hoeller
c8b8dc5f97
TilesConfigurer defensively expects null from getResources in case of no resources found
...
Also includes order preservation for resource results with Tiles 2 as well as retrieval failure logging with Tiles 3.
Issue: SPR-12362
(cherry picked from commit cb86036 )
12 years ago
Juergen Hoeller
aa82da8507
Set ResponseStatusExceptionResolver.messageSource in the MVC Java config
...
Issue: SPR-12380
(cherry picked from commit 17b9bde )
12 years ago
Juergen Hoeller
16a4fe70f2
Polishing
...
(cherry picked from commit 2956049 )
12 years ago
Juergen Hoeller
6117311906
QualifierAnnotationAutowireCandidateResolver calls BeanFactory.getType defensively
...
Issue: SPR-12191
(cherry picked from commit 73ce3b5 )
12 years ago
Juergen Hoeller
6e5711a7fb
Revised test for ImportBeanDefinitionRegistrar double scan
...
Issue: SPR-12334
12 years ago
Juergen Hoeller
15c8987cc4
Polishing
12 years ago
Juergen Hoeller
0e907764a4
Test for ImportBeanDefinitionRegistrar double scan
...
Issue: SPR-12334
(cherry picked from commit 38030ef )
12 years ago
Juergen Hoeller
a305bf7ad1
Latest dependency updates (Hibernate 4.2.15, Tiles 3.0.5)
12 years ago
Juergen Hoeller
e16f21c281
AnnotationUtils consistently logs introspection failures via lazily initialized logger
...
Issue: SPR-12325
Issue: SPR-12329
12 years ago
Juergen Hoeller
7507560e75
Reimplemented ServerEndpointExporter to avoid BeanPostProcessor role
...
Issue: SPR-12340
(cherry picked from commit 10328f1 )
12 years ago
Juergen Hoeller
a1c0905a7c
Consistently accept empty Content-Type header and empty character encoding
...
Issue: SPR-12173
(cherry picked from commit d501137 )
12 years ago
Juergen Hoeller
6f9d7da59e
Consistent use of LinkedHashSet for interfaces (since interface order may matter in subtle cases)
...
(cherry picked from commit 5a63117 )
12 years ago
Juergen Hoeller
47ed4d634b
Explicitly detect (and log) private @Scheduled methods on CGLIB proxies
...
Issue: SPR-12308
(cherry picked from commit 01724d3 )
12 years ago
Juergen Hoeller
da2c30cd0c
TextMessage.toString() does not throw StringIndexOutOfBoundsException for payload with multibyte characters
...
Issue: SPR-12307
(cherry picked from commit da14aee )
12 years ago
Juergen Hoeller
a7eeedaf6a
Fix outdated references to JobDetailBean
...
Issue: SPR-12306
(cherry picked from commit aaf69eb )
12 years ago
Juergen Hoeller
578c3dd853
Polishing
...
(cherry picked from commit d6be433 )
12 years ago
Juergen Hoeller
9758bc7833
Consistent reset of resource holders on doBegin failure
...
Issue: SPR-12280
(cherry picked from commit e58b33a )
12 years ago
Juergen Hoeller
c672678423
Provider declaration for @Value method argument works again
...
Issue: SPR-12297
(cherry picked from commit 70fec47 )
12 years ago
Juergen Hoeller
ac4103d1b9
Further locking optimizations for the retrieval of non-singleton beans
...
Issue: SPR-12250
(cherry picked from commit 9d83281 )
12 years ago
Juergen Hoeller
d23b033f61
Polishing
12 years ago
Juergen Hoeller
c74bad6e07
Remove outdated references to ContextLoaderServlet
...
Issue: SPR-7725
(cherry picked from commit 69998e3 )
12 years ago
Juergen Hoeller
f41e0bc796
Latest dependency updates (POI 3.10.1, JRuby 1.7.16)
12 years ago