diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-08-22 00:54:44 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-08-22 00:54:44 +0000 |
| commit | 303c117eb9e6dfcbab2bab5fe3a3a34d843bf7b7 (patch) | |
| tree | 241fff8fc02708ae08d2671d23b2072effa25ddc /app/src/main/AndroidManifest.xml | |
| parent | 5c5ba596a50274aa4d99dc682fb34d43bb7f7326 (diff) | |
Harden extraction WebView, cache Readability.js, sharpen YouTube thumbs
- Cache the ~90KB Readability.js asset read (identical every time)
instead of a disk read + UTF-8 decode on the main thread for every
single extraction.
- Lock down allowFileAccess/allowContentAccess/allowUniversalAccess:
this WebView runs full JS against any article link, feed URL, or
(via ShareReceiverActivity) any URL another app hands it -- no
legitimate reason to ever load file://.
- hq720 thumbnail instead of hqdefault (a letterboxed 4:3 crop).
- Validate frameSrc is actually http(s) before using it verbatim as a
fallback link -- it's attacker-controlled article content that only
had to match a substring filter, not the strict video-ID regex, so a
crafted file://, content://, or intent:// src couldn't ride along
into an ACTION_VIEW intent or a JS-enabled WebView.loadUrl.
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
0 files changed, 0 insertions, 0 deletions
