gecko-dev/caps
Nika Layzell 5b2b8bc288 Bug 1754320 - Re-escape existing escape sequences in precursor origins, r=ckerschb
Apparently the esc_NonASCIIOnly and esc_Forced flags to NS_EscapeURL are
incompatible, meaning that the escaping and unescaping code was not
handling existing escape sequences properly. This patch adds an explicit
gtest to make sure sequences round-trip correctly, and switches
serialization to use `esc_Query | esc_Forced` instead, which may escape
more aggressively than required but should work correctly.

Differential Revision: https://phabricator.services.mozilla.com/D142111
2022-03-28 15:12:36 +00:00
..
tests Bug 1754320 - Re-escape existing escape sequences in precursor origins, r=ckerschb 2022-03-28 15:12:36 +00:00
BasePrincipal.cpp Bug 1757796 - Permit midi-sysex on localhost. r=mixedpuppy 2022-03-04 22:55:00 +00:00
BasePrincipal.h Bug 1757796 - Permit midi-sysex on localhost. r=mixedpuppy 2022-03-04 22:55:00 +00:00
ContentPrincipal.cpp Bug 1755947 - Simplify nsIPrincipal.isSameOrigin(). r=bholley 2022-02-17 18:11:58 +00:00
ContentPrincipal.h Bug 1711078 - Part 2: Mark immutable fields in principal types as const, r=ckerschb 2021-05-17 20:50:09 +00:00
ContentPrincipalInfoHashKey.h Bug 1725942 - Part 1: Add ContentPrincipalInfoHashKey r=bholley 2021-10-19 12:01:49 +00:00
DomainPolicy.cpp Bug 1731645 - Fix non-unified build errors in caps/. r=ckerschb 2021-09-21 15:42:01 +00:00
DomainPolicy.h
ExpandedPrincipal.cpp Bug 1741600 - Fix ExpandedPrincipal and nsCSPContext leaks triggered by ApplyAddonContentScriptCSP. r=ckerschb,robwu 2021-11-26 15:51:13 +00:00
ExpandedPrincipal.h Bug 1741600 - Fix ExpandedPrincipal and nsCSPContext leaks triggered by ApplyAddonContentScriptCSP. r=ckerschb,robwu 2021-11-26 15:51:13 +00:00
NullPrincipal.cpp Bug 1754320 - Re-escape existing escape sequences in precursor origins, r=ckerschb 2022-03-28 15:12:36 +00:00
NullPrincipal.h Bug 1754320 - Re-escape existing escape sequences in precursor origins, r=ckerschb 2022-03-28 15:12:36 +00:00
OriginAttributes.cpp Bug 1742598 - Part 1: Add an parameter to URLParams::Serialize() to indicate if the encoding is needed for the serialization result. r=smaug,necko-reviewers,dragana 2021-11-25 12:13:48 +00:00
OriginAttributes.h Bug 1714065 - Allow matching partition key fields via OriginAttributesPattern. r=timhuang,ckerschb 2021-06-24 09:13:30 +00:00
PrincipalHashKey.h
SystemPrincipal.cpp Bug 1711078 - Part 2: Mark immutable fields in principal types as const, r=ckerschb 2021-05-17 20:50:09 +00:00
SystemPrincipal.h Bug 1711078 - Part 2: Mark immutable fields in principal types as const, r=ckerschb 2021-05-17 20:50:09 +00:00
moz.build Bug 1725942 - Part 1: Add ContentPrincipalInfoHashKey r=bholley 2021-10-19 12:01:49 +00:00
nsIAddonPolicyService.idl
nsIDomainPolicy.idl
nsIPrincipal.idl Bug 1755947 - Simplify nsIPrincipal.isSameOrigin(). r=bholley 2022-02-17 18:11:58 +00:00
nsIScriptSecurityManager.idl
nsJSPrincipals.cpp Bug 1544127 - Make sure nsIPrincipal is only accessed on main thread, r=necko-reviewers,valentin 2022-01-19 13:52:05 +00:00
nsJSPrincipals.h
nsScriptSecurityManager.cpp Bug 1731645 - Fix non-unified build errors in caps/. r=ckerschb 2021-09-21 15:42:01 +00:00
nsScriptSecurityManager.h