diff options
author | Michael Catanzaro <mcatanzaro@redhat.com> | 2021-08-09 16:59:37 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@redhat.com> | 2021-08-09 21:01:05 -0500 |
commit | 2eaf66917fb4cd029b07fc9d8946b289a053abac (patch) | |
tree | db7ac90b3e6a958570858fdf798d18219eed3532 /third-party/pdfjs/web/locale/pl/viewer.properties | |
parent | 1736e9ed3933204701dc0b022252667520bb0ea1 (diff) | |
download | epiphany-2eaf66917fb4cd029b07fc9d8946b289a053abac.tar.gz |
Add ephy-resource:// to CORS allowlist for access from PDF.js
The new version of PDF.js is having trouble loading our icons via
ephy-resource:// URIs. We're going to need to disable CORS to solve
this. We can replace it with some custom security checks to restrict
resource access as far as practical based on the URI scheme of the main
resource. Error page assets will have to be left open, though. It's
pretty hard to see how that could be abused, so I think it's OK.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/975>
Diffstat (limited to 'third-party/pdfjs/web/locale/pl/viewer.properties')
0 files changed, 0 insertions, 0 deletions