Android icon indicating copy to clipboard operation
Android copied to clipboard

[Bug] Cannot download PDFs from GitHub

Open bluecmd opened this issue 2 years ago • 8 comments

Describe the bug

Hello,

I'm unable to download PDF files from GitHub when using the DDG app specifically.

How to Reproduce

  • Navigate to any PDF hosted on GitHub. E.g. https://github.com/mozilla/pdf.js/blob/master/test/pdfs/ArabicCIDTrueType.pdf
  • Press the "..." next to the branch name.
  • Press "Download"
  • Observe that nothing happens

If you do the same steps in Firefox on Android the PDF is downloaded.

Expected behavior

The PDF file is downloaded

Environment

- DDG App Version: 5.175.1
- Device: Pixel 6 Pro
- OS: Android 14

bluecmd avatar Oct 11 '23 06:10 bluecmd

Thank you for opening an Issue in our Repository. The issue has been forwarded to the team and we'll follow up as soon as we have time to investigate. As stated in our Contribution Guidelines, requests for feedback should be addressed via the Feedback section in the Android app.

github-actions[bot] avatar Oct 11 '23 06:10 github-actions[bot]

Can i resolve this issue?

Rajkdea123 avatar Oct 21 '23 04:10 Rajkdea123

Can i resolve this issue?

I still can't download the linked PDF in the latest DDG Browser, so I would say no. Are you able to download it using the reproduce instructions?

bluecmd avatar Oct 21 '23 05:10 bluecmd

Ok, I'll try,I didn't do it yet

On Sat, Oct 21, 2023, 11:07 Christian Svensson @.***> wrote:

Can i resolve this issue?

I still can't download the linked PDF in the latest DDG Browser, so I would say no. Are you able to download it using the reproduce instructions?

— Reply to this email directly, view it on GitHub https://github.com/duckduckgo/Android/issues/3645#issuecomment-1773678641, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXQGAVXWDKUVBKV4MJIWKZ3YANNSJAVCNFSM6AAAAAA53NW5UWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTGY3TQNRUGE . You are receiving this because you commented.Message ID: @.***>

Rajkdea123 avatar Oct 21 '23 05:10 Rajkdea123

In my view this is due to GitHub's content security policy. They do not want us to inject code to retrieve the pdf in the blob. Doesn't work with my FREE Bowser either.

woheller69 avatar Nov 29 '23 13:11 woheller69

This is solved in 5.209.2.

anikiki avatar Aug 05 '24 09:08 anikiki

This is solved in 5.209.2.

No, it is not solved. Still nothing happens when clicking "Download" as described above

woheller69 avatar Aug 05 '24 10:08 woheller69