Bug 215604 - parsing on invalid Content-Type fields inconsistent
Summary: parsing on invalid Content-Type fields inconsistent
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 13
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://test.greenbytes.de/tech/tc/htt...
Keywords: InRadar
Depends on:
Blocks: 192000
  Show dependency treegraph
Reported: 2020-08-18 05:16 PDT by Julian Reschke
Modified: 2020-08-25 05:17 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Julian Reschke 2020-08-18 05:16:50 PDT
See <http://test.greenbytes.de/tech/tc/httpcontenttype/#multixmltextoneline> and <http://test.greenbytes.de/tech/tc/httpcontenttype/#multixmltexttwoline> (summaries).

Webkit apparently handles 

   Content-Type: x, y

different from

   Content-Type: x
   Content-Type: y

Both examples are invalid, but the fact that the outcome differs hints at inconsistent code with respect to re-combining field values.

Note that both Firefox and Chrome show consistent behavior here.
Comment 1 Radar WebKit Bug Importer 2020-08-25 05:17:18 PDT