mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-10 03:24:21 +03:00
llcache: URLs with data scheme are cachable.
This commit is contained in:
parent
66401b7fa6
commit
301b0bae00
@ -1792,7 +1792,7 @@ llcache_object_retrieve(nsurl *url,
|
||||
/* POST requests are never cached */
|
||||
uncachable = true;
|
||||
} else {
|
||||
/* only http(s), resource, and file schemes are cached */
|
||||
/* only http(s), data, resource, and file schemes are cached */
|
||||
lwc_string *scheme;
|
||||
bool match;
|
||||
|
||||
@ -1806,6 +1806,9 @@ llcache_object_retrieve(nsurl *url,
|
||||
lwc_string_isequal(scheme, corestring_lwc_https,
|
||||
&match) == lwc_error_ok &&
|
||||
(match == false) &&
|
||||
lwc_string_isequal(scheme, corestring_lwc_data,
|
||||
&match) == lwc_error_ok &&
|
||||
(match == false) &&
|
||||
lwc_string_isequal(scheme, corestring_lwc_resource,
|
||||
&match) == lwc_error_ok &&
|
||||
(match == false) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user