Andy Wilkinson
bbec7b0f37
Merge branch '2.1.x'
...
Closes gh-17994
2019-08-29 12:30:06 +01:00
Andy Wilkinson
9961647c7f
Improve handling of reserved characters in MetaInfResourceManager
...
Previously, MetaInfResourceManager that we use with Undertow to serve
static resources from jar's META-INF/resources did not correctly
handle characters in the path that should be percent-encoded when
used in a URL.
This commit updates MetaInfResourceManager to encode the path before
it is used to create a URL. Prior to this encoding, encoded slashes
(%2F) are decoded as, unlike other encoded characters in the request's
URL, encoded slashes are not decoded prior to calling the
ResourceManager.
Fixes gh-17853
2019-08-29 12:13:40 +01:00
Vedran Pavic
cb3efc1ef6
Add dependency management for IBM DB2 JDBC driver
...
See gh-17782
2019-08-27 11:19:19 +02:00
Gang Zhang
2b29bea55c
Use putIfAbsent() instead of containsKey
...
See gh-17913
2019-08-23 13:21:23 +02:00
Phillip Webb
cb5ca7997b
Polish
2019-08-22 15:17:34 -07:00
Phillip Webb
6270f5008d
Polish lenient enum converter
...
See gh-17798
2019-08-22 14:42:07 -07:00
Andy Wilkinson
05e089601e
Remove default favicon and support for serving from classpath root
...
Closes gh-17925
2019-08-22 13:53:13 +01:00
Andy Wilkinson
24b5b0d93e
Polish
2019-08-21 15:50:33 +01:00
Andy Wilkinson
87339405f3
Merge branch '2.1.x'
...
Closes gh-17928
2019-08-21 15:18:13 +01:00
Andy Wilkinson
abe3d38527
Fix OoM error when starting Tomcat with max int load on startup
...
Fixes gh-17927
2019-08-21 15:17:54 +01:00
Andy Wilkinson
7f8944d00f
Polish
2019-08-19 17:31:56 +01:00
Andy Wilkinson
ab87b2a39b
Polish
2019-08-19 16:05:43 +01:00
Stephane Nicoll
7f06504006
Detect ConfigurationProperties using autowiring constructor
...
This commit improves InvalidConfigurationPropertiesException failure
analysis by adding a dedicated description when a single autowiring
constructor is found. When @Component is removed, such constructor is
used for properties binding and will not apply the same semantics as
before.
Closes gh-17750
2019-08-19 11:01:49 +02:00
Stephane Nicoll
fc0cee5ea7
Merge branch '2.1.x'
2019-08-17 06:47:33 +02:00
lijuny
d33ed84f1f
Remove redundant code
...
See gh-17875
2019-08-17 06:41:10 +02:00
dreis2211
d4affd7f85
Use hasSize() assertion in favor of length checks
...
See gh-17874
2019-08-17 06:39:41 +02:00
lijuny
64344214e1
Delete redundant variables
...
See gh-17864
2019-08-15 07:05:10 +02:00
Andy Wilkinson
ba4c5be2fd
Remove unused field
...
See gh-17562
2019-08-14 19:41:14 +01:00
Madhura Bhave
468b2e6d57
Merge branch '2.1.x'
...
Closes gh-17857
2019-08-13 15:15:14 -07:00
Madhura Bhave
3515ec1f29
Support relaxed binding for properties before environment is prepared
...
Fixes gh-17843
2019-08-13 14:54:27 -07:00
dreis2211
b605cddb10
Polish some Collections API calls
...
See gh-17825
2019-08-11 10:36:10 +02:00
zhuzhuman
84eacc49ed
Simplify for statement with Collection copy
...
See gh-17827
2019-08-11 10:34:11 +02:00
lijuny
844a8d8027
Simplify some code
...
See gh-17832
2019-08-11 10:05:36 +02:00
Madhura Bhave
835108e522
Support binding of YAML style true/false values to 'ON'/'OFF'.
...
Fixes gh-17798
2019-08-09 16:19:15 -07:00
Stephane Nicoll
b8a1043e98
Merge branch '2.1.x'
...
Closes gh-17813
2019-08-08 16:33:31 +02:00
Stephane Nicoll
1b3a6d1616
Polish "Configure a temporary directory with Undertow"
...
See gh-17778
2019-08-08 16:29:43 +02:00
Andy Chen
0388f954af
Configure a temporary directory with Undertow
...
See gh-17778
2019-08-08 16:17:34 +02:00
Bo Zhang
c19057e117
Simplify conditional statements
...
See gh-17779
2019-08-05 15:13:35 -07:00
freekry
a9e7c4ec95
Fix typo in JsonComponent javadoc
...
See gh-17776
2019-08-04 08:59:40 +02:00
Phillip Webb
2cdceb92bf
Polish
2019-08-03 14:29:20 +01:00
Phillip Webb
b29e81fcd9
Allow defaultBindHandler to be specified on Binder
...
Allow a `defaultBindHandler` to be specified on the `Binder` instance
to save needing to pass it to each `bind` method call.
Closes gh-17773
2019-08-03 11:58:28 +01:00
Phillip Webb
fb6568be73
Improve PropertySourceLoader file extension error
...
Refine the `IllegalStateException` thrown from `PropertySourceLoader`
for unknown extensions to also indicated that folder references must end
in '/'.
Closes gh-17241
2019-08-03 11:36:36 +01:00
Stephane Nicoll
89aefa6cfb
Enable binding for scanned configuration properties
...
Closes gh-16822
2019-08-02 16:19:33 +02:00
Madhura Bhave
4e29f7b0ae
Merge branch '2.1.x'
...
Closes gh-17762
2019-08-01 16:05:19 -07:00
Madhura Bhave
80f568bd47
Clarify RestTemplateBuilder rootUri documentation
...
Closes gh-15343
2019-08-01 15:59:24 -07:00
Madhura Bhave
02fd0c45e4
Merge branch '2.1.x'
...
Closes gh-17748
2019-07-31 13:01:46 -07:00
Madhura Bhave
96235ea674
Fix ordering of JSON property source relative to servlet sources
...
Fixes gh-17652
2019-07-31 12:43:08 -07:00
Phillip Webb
da4f436140
Change SearchStrategy EXHAUSTIVE to TYPE_HIERARCHY
...
Fixup references following upstream Spring Framework change.
2019-07-31 15:11:43 +01:00
Phillip Webb
ea5b624a39
Polish
2019-07-30 12:03:19 -07:00
Madhura Bhave
61b86ff231
Polish "Add support for configuring logging groups"
...
See gh-17515
Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2019-07-30 11:28:58 -07:00
HaiTao Zhang
b9047c22e0
Add support for configuring logging groups via endpoint
...
See gh-17515
2019-07-30 11:13:07 -07:00
dreis2211
a938a8b79c
Fix checkstyle warning
...
See gh-17692
2019-07-29 16:48:57 +02:00
Phillip Webb
e5497665cf
Merge branch '2.1.x'
...
Closes gh-17688
Closes gh-17689
2019-07-29 14:48:26 +01:00
Phillip Webb
d7ee504ee0
Only include our own mime mappings in Undertow
...
Update `UndertowServletWebServerFactory` so that only our own mime type
mappings are included. Prior to this commit both our mime mappings and
Undertow's default mime mappings would always be included.
Fixes gh-17687
2019-07-29 14:44:57 +01:00
Stephane Nicoll
fc2c98ffad
Merge branch '2.1.x'
2019-07-26 12:08:03 +02:00
Stephane Nicoll
ac4dcfbf9a
Improve detection of NoSuchMethodError cause
...
Closes gh-17649
2019-07-26 12:01:35 +02:00
Phillip Webb
8bc780762a
Merge branch '2.1.x'
2019-07-24 11:42:48 +01:00
Phillip Webb
fb1dd8fe93
Merge branch '2.0.x' into 2.1.x
2019-07-24 11:41:32 +01:00
Phillip Webb
913e831f4e
Merge '1.5.x' into 2.0.x
2019-07-24 11:39:58 +01:00
Stephane Nicoll
5ed3185d04
Merge branch '2.1.x'
...
Closes gh-17621
2019-07-24 11:37:13 +02:00