[resteasy/resteasy] 05d853: [RESTEASY-3384] Improve parsing of malformed Media...
by James R. Perkins
Branch: refs/heads/6.2
Home: https://github.com/resteasy/resteasy
Commit: 05d853a124f7963b0252f4a47147bd2790b1b507
https://github.com/resteasy/resteasy/commit/05d853a124f7963b0252f4a47147b...
Author: Thomas Darimont <thomas.darimont(a)googlemail.com>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/MediaTypeHeaderDelegate.java
A resteasy-core/src/test/java/org/jboss/resteasy/plugins/delegates/MediaTypeHeaderDelegateTest.java
Log Message:
-----------
[RESTEASY-3384] Improve parsing of malformed MediaTypes in MediaTypeHeaderDelegate
Previously, a "broken" MIME-type could trigger an StringIndexOutOfBoundsException
instead of the more suitable IllegalArgumentException.
Example: "Accept: x; /x"
This PR now throws an IllegalArgumentException in case of a broken MIME-type.
Commit: 5b15bcec5e674c8dad494923d1a9e52977a77f8a
https://github.com/resteasy/resteasy/commit/5b15bcec5e674c8dad494923d1a9e...
Author: James R. Perkins <jperkins(a)redhat.com>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M providers/multipart/src/test/java/org/jboss/resteasy/plugins/providers/multipart/MultipartEntityPartProviderTest.java
M resteasy-core/src/main/java/org/jboss/resteasy/core/FormParamInjector.java
Log Message:
-----------
[RESTEASY-3390] Use the request entity parts if a multipart/form-data request is sent and the injection parameter type is a string.
https://issues.redhat.com/browse/RESTEASY-3390
Signed-off-by: James R. Perkins <jperkins(a)redhat.com>
Commit: 1732f894e78a102dc61310671a89c4afbda71853
https://github.com/resteasy/resteasy/commit/1732f894e78a102dc61310671a89c...
Author: Eric Dong <ericd(a)paywholesail.com>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M resteasy-client-jetty/src/test/java/org/jboss/resteasy/test/client/jetty/JettyClientEngineTest.java
Log Message:
-----------
Add a test for per-request idle timeout
Commit: de88860f24b397cff036a62c84b11cf0c4552a73
https://github.com/resteasy/resteasy/commit/de88860f24b397cff036a62c84b11...
Author: Eric Dong <ericd(a)paywholesail.com>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M resteasy-client-jetty/src/main/java/org/jboss/resteasy/client/jaxrs/engines/jetty/JettyClientEngine.java
Log Message:
-----------
Support setting per-request idle timeout, just like the request timeout
Commit: 5435246a943c734cef92e5553efffd51390385a5
https://github.com/resteasy/resteasy/commit/5435246a943c734cef92e5553efff...
Author: James R. Perkins <jperkins(a)redhat.com>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M providers/multipart/src/test/java/org/jboss/resteasy/plugins/providers/multipart/MultipartEntityPartProviderTest.java
M resteasy-client-jetty/src/main/java/org/jboss/resteasy/client/jaxrs/engines/jetty/JettyClientEngine.java
M resteasy-client-jetty/src/test/java/org/jboss/resteasy/test/client/jetty/JettyClientEngineTest.java
M resteasy-core/src/main/java/org/jboss/resteasy/core/FormParamInjector.java
M resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/MediaTypeHeaderDelegate.java
A resteasy-core/src/test/java/org/jboss/resteasy/plugins/delegates/MediaTypeHeaderDelegateTest.java
Log Message:
-----------
Merge pull request #3822 from jamezp/backports-6.2
[6.2] Back ports
Compare: https://github.com/resteasy/resteasy/compare/ccc8f73677e9...5435246a943c
1 year, 3 months