mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Issue #1721 - Follow-up: Properly protect GPC header
Make it a singleton so it cannot be overwritten.
This commit is contained in:
parent
84ca5fdfc7
commit
0315aeee73
1 changed files with 1 additions and 0 deletions
|
|
@ -234,6 +234,7 @@ nsHttpHeaderArray::IsSingletonHeader(nsHttpAtom header)
|
|||
header == nsHttp::From ||
|
||||
header == nsHttp::Location ||
|
||||
header == nsHttp::Max_Forwards ||
|
||||
header == nsHttp::GlobalPrivacyControl ||
|
||||
// Ignore-multiple-headers are singletons in the sense that they
|
||||
// shouldn't be merged.
|
||||
IsIgnoreMultipleHeader(header);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue