Reject duplicate MIME type parameters
Prior to this commit, MIME type parsing in Spring would allow duplicate parameters like "text/plain; dupe=1; dupe=2", effectively retaining the latest value and ignoring the first. RFC 6838 4.3 states that this should be treated as an error and this commit ensures that this is the case. Closes gh-36841
B
Brian Clozel committed
25e8395df804e9fc31fa4f005535113b4e8c6b21
Parent: 148b7fd