Andy McCright created CXF-8353:
----------------------------------
Summary: MediaTypeProviderFactory not handling all invalid media
types
Key: CXF-8353
URL: https://issues.apache.org/jira/browse/CXF-8353
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 3.4.0
Reporter: Andy McCright
Assignee: Andy McCright
According to https://tools.ietf.org/html/rfc2045#section-5.1 there are a lot of
characters that are not allowed in the type or subtype fields of a MIME
/MediaType. Currently, CXF only checks for '/' in the subtype.
Instead it should be checking for:
tspecials := "(" / ")" / "<" / ">" / "@" /
"," / ";" / ":" / "\" / <">
"/" / "[" / "]" / "?" / "="
; Must be in quoted-string,
; to use within parameter values
--
This message was sent by Atlassian Jira
(v8.3.4#803005)