This might be controversial because RFC 2616 states "each separated by a comma":
It MUST be possible to combine the multiple header fields into one "field-name: field-value" pair, without changing the semantics of the message, by appending each subsequent field-value to the first, each separated by a comma.
but I figured that it would be good to create such issue anyway so that you are aware and can decide
Steps to reproduce
lets assume that https://example.com responds with this headers:
Intro
This might be controversial because RFC 2616 states "each separated by a comma":
but I figured that it would be good to create such issue anyway so that you are aware and can decide
Steps to reproduce
lets assume that
https://example.com
responds with this headers:put
https://example.com
into textarea of https://csp-evaluator.withgoogle.com/Actual result
in textarea of https://csp-evaluator.withgoogle.com/ they will be parsed as:
(notice
,
instead of;
). Because of commasobject-src
+script-src
will be marked asmissing
Expected result
headers from steps to reproduce are parsed as
Additional info
google chrome
87
interprets headers from Steps to reproduce in a way thatobject-src
andscript-src
are respectedProposed solution
Multi value headers should be joined by using
;
instead of,