Open Bug 1415680 Opened 7 years ago Updated 7 months ago

Cannot Open PDF Attached Email File with _%_ included in the File Name

Categories

(Firefox :: File Handling, defect, P3)

56 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: techguy9, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; Zoom 3.6.0; wbx 1.0.0; rv:11.0) like Gecko

Steps to reproduce:

This is actually a solution to a PDF Problem - Read On. 

Had a situation where I experienced Firefox was not able to open, or download for that matter, an email from a specific client, that contained a PDF attachment. I narrowed the problem down, after trying all of the recommended solutions, to the file name containing the string '_%_' within it's name. 

Turns out this is the problem. Whatever program that the user was using to create the email with the attachment, included this string in the actual File Name of the attachment. I could use IE to at least save the file, which is what led me to the solution, by allowing me to see the string in the file name. I had already tried Safe Mode, About:Config changes on pdfjs.disabled, as well as all of the other solutions about not being able to open a PDF file within Firefox. However, I found no solution that included this one little tid-bit of information. 




Actual results:

To confirm my solution, I loaded my webmail client in IE and Firefox, logged in as the same user, then used a known good PDF file, that I made a copy of. Then via two emails with IE, I sent one email to self with the copy, and one email to self with the copy that I renamed to include the '_%_' string: Example 

File name in first email: A File Named Bob.pdf File name in Second Email: A File Named Bob_%_.pdf 

Firefox handled the first email without a hitch. Second email, it did not know what to do with it... 

Anyway, wanted to provide this solution, since it seems that no other person has run into this issue. 



Expected results:

I believe that Firefox should have opened the file, or at least, allow a "Save As" option
Component: Untriaged → File Handling
Priority: -- → P3
Severity: normal → S3

I was facing the same issue , Where i was generating PDF file for user profile.
and it was unable to open as per node JS version 2.0 , shows error of 0x8928,
Just rename the file structure like i did for my (Matrimonial script)[https://www.readymatrimony.com] website and provided an update for all the users
Thansk to
https://www.readymatrimony.com

You need to log in before you can comment on or make changes to this bug.