diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 18:17:47 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 18:17:47 +0100 |
| commit | a159551d058606a673b14c5568aa72cf538f9934 (patch) | |
| tree | bf9454f2852607f1f2ef9c070ed94f0ff44c6a21 /crates/wipfel | |
| parent | 60b07b483f49adfee51480b029f23f7c4913886f (diff) | |
web: allow any file type in the image picker
MediaProvider only redacts GPS EXIF in files it indexes as images.
A copy renamed to a non-image extension (or under a .nomedia folder)
reaches the browser untouched — an all-files picker makes that route
usable on GrapheneOS/AOSP where browsers cannot hold
ACCESS_MEDIA_LOCATION.
Diffstat (limited to 'crates/wipfel')
| -rw-r--r-- | crates/wipfel/src/app.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/wipfel/src/app.rs b/crates/wipfel/src/app.rs index 1843021..8ae78c4 100644 --- a/crates/wipfel/src/app.rs +++ b/crates/wipfel/src/app.rs @@ -903,7 +903,7 @@ pub fn app() -> Html { <input type="file" ref={file_ref} - accept="image/*" + accept="*/*" class="hidden-file" onchange={on_file_change} /> |
