PdfViewPager icon indicating copy to clipboard operation
PdfViewPager copied to clipboard

filename too long

Open poorankharol opened this issue 5 years ago • 6 comments

Describe the bug I am unable to load file with a long name.

Expected behavior Should be able to view

Smartphone (please complete the following information):

  • Device: OnePlus 7
  • OS: Android 10

Additional context Add any other context about the problem here.

poorankharol avatar Apr 02 '20 15:04 poorankharol

Hi!

can you paste a small code snippet with the long name you are trying to load? I'll reproduce it in my samples and see what's going on

voghDev avatar Apr 06 '20 09:04 voghDev

RemotePDFViewPager(context, url, this)

Use this URL to reproduce: https://job-dost.s3.amazonaws.com/50542f5c650d4b53e3727151fc6631e6_485.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA3DDK253HKPF65AXU%2F20200409%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20200409T093205Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=219422a93eb47829a750f6f08697c1743ac6d02fc367892725fd16b1fa5d436e

codefury avatar Apr 09 '20 10:04 codefury

I'm having this issue as well. I believe the problem is with the extracted file name being too long. The extracted file name keeps all the query params.

jbgroce21 avatar Apr 10 '20 14:04 jbgroce21

Hi, I faced same problem. I think the issue is with long url. When I use long url then I got this issue

sudipsadhukhan0295 avatar Apr 26 '20 19:04 sudipsadhukhan0295

I am facing same issue in extracted file name too long exception. please do the needful asap

Monika-Paliwal avatar Dec 22 '22 12:12 Monika-Paliwal

Any answers for this? How did anyone solve this problem?

SusanKern avatar Feb 20 '24 22:02 SusanKern