https://www.justice.gov/epstein/files/DataSet 9/EFTA01249734.pdf
This link drove me nuts last night, until I stopped tapping the link in Jerboa and instead copy/pasted the link directly into Fennec web browser.
If this bug has been resolved in a newer version of Jerboa, well just let me know and I’ll make a point to update later.


Jerboa doesn’t handle PDF URIs directly. It only handles links related to Lemmy. It offloads that responsibility to your browser. It could have something to do with your android settings.
For more context, here is the file that has the functions that handles link opening in the github source code: https://github.com/LemmyNet/jerboa/blob/main/app/src/main/java/com/jerboa/Utils.kt
The functions of interest are openLink and openLinkRaw.
Nope, it’s not even that. My browser (Fennec) is configured to ask every time what app to use, but Jerboa triggering my default browser apparently bypasses that altogether and I never get any option as to which app to load the link/document with.
Other apps don’t do this, other apps give me the option of which app to open stuff with. Jerboa however just blindly goes forward, assuming it sees a PDF, it must be a PDF…
Sorry for the empty comment,
I don’t want to pry too much, but in jerboa, do you use private navigation by default?
Also, by other apps do you mean other lemmy frontends? Or just other apps on your phone? Maybe an example, especially if it’s open source, would help a lot.
Lastly, do you maybe have a step by step recreation of what happened? Screenshots and videos might give more context. You also mentioned the lemmy redirect service not working and giving you a 500 internal server error. Maybe more details could help out.
But then again, with this much information needed, i think a github issue should be opened. It doesn’t seem as obvious of an issue, even when looking in the code, so get ready to have to document this issue thouroughly. It would help a bunch.
Oh, your comment is definitely not an empty comment.
At first I tested tapping the link within Jerboa, no dice. I just got the Invalid Format error.
So, I decided to download the ‘document’ to my tablet, to investigate it. Turned out, it downloaded an HTML file with PDF extension.
In hindsight, it doesn’t inherently seem like a problem with Jerboa, more like a problem with the bait and switch link from justice.gov, swapping a PDF link with an HTML document. The HTML is a script to simply ask if you’re 18 years of age or older.
But the script doesn’t work when force-fed into a PDF reader, which my tablet isn’t even configured for, but Jerboa seems to be forcing it to open a PDF reader, without even giving me the option to open with another app.
Still, especially in the current times, I’m pretty sure that people would like access to these documents, without the file format mistranslation when tapping a link on the screen…