You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Improve handling of broken accept headers in MediaTypeHeaderDelegate.parse(..) within resteasy-reactive
Previously, a "broken" MIME-type in an access header could trigger an StringIndexOutOfBoundsException during MediaTypeHeaderDelegate.parse(..) instead of the more suitable IllegalArgumentException.
Example: "Accept: x; /x"
This PR now throws an IllegalArgumentException in case of a broken MIME-type like in the example.
Fixesquarkusio#36159
Copy file name to clipboardExpand all lines: independent-projects/resteasy-reactive/common/runtime/src/main/java/org/jboss/resteasy/reactive/common/headers/MediaTypeHeaderDelegate.java
0 commit comments