commit 96b287d65272251e2392c3e63e58840ad83be220
parent c886ce7fdbb4c0093e492688461e0731b09f3b4f
Author: Randell Jesup <rjesup@mozilla.com>
Date: Tue, 25 Nov 2025 11:19:26 +0000
Bug 2002034: When matching for CompressionDictionaries pass the cache entry URI to URLPattern r=necko-reviewers,valentin
In the spec, section 2.2.2 step 2
Differential Revision: https://phabricator.services.mozilla.com/D273938
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/netwerk/cache2/Dictionary.cpp b/netwerk/cache2/Dictionary.cpp
@@ -169,7 +169,7 @@ bool DictionaryCacheEntry::Match(const nsACString& aFilePath,
aType)) != mMatchDest.NoIndex) {
UrlpPattern pattern;
UrlpOptions options;
- const nsCString base("https://foo.com/"_ns);
+ const nsCString base(mURI);
if (!urlp_parse_pattern_from_string(&mPattern, &base, options,
&pattern)) {
DICTIONARY_LOG(