Closed Bug 323322 Opened 19 years ago Closed 19 years ago

Our webpage determines the Mime type of a file for example PDF. Using Firefox, the Mime type is not seen as PDF. Using IE, it is seen as a PDF. I did not see this problem in the list of current bugs.

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 316143

People

(Reporter: icpsupport, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

Our webpage determines the Mime type of a file for uploading, for example PDF. We first determine the Mime type in order to determine if we will allow this file to be uploaded. Using Firefox, the PDF Mime type is not seen as PDF. Using IE, it is seen as a PDF. I did not see this problem in the list of current bugs. Firefox 1.5 is installed.

Reproducible: Always

Steps to Reproduce:
1.Go to http://216.228.1.34/pdfexpress/log.asp
2.Create an Account
3.Use dumb05 as your Conference ID
4.Click on the link Submit PDF for Checking link and upload a PDF
5.If the system sees the file as a PDF, it displays 1 of 99 and Checking PDF for IEEE Xplore compatibility. If it sees it as another file type, it will say converting to PDF.
6.With Firefox 1.5 (Gecko/20051111) the file is not seen as a PDF but as another source file type.

Actual Results:  
With Firefox 1.5 (Gecko/20051111) the file is not seen as a PDF but as another source file type.


Expected Results:  
Status is Checking PDF for IEEE Xplore compatibility because it is a PDF that was submitted.

Status is Checking PDF for IEEE Xplore compatibility because it is a PDF that was submitted.
IE quesses the mime type sent by the serve. Firefox respects it. 
See <http://bclary.com/2004/09/26/boot-camp-content-type>
Not security sensitive. 

Since the site owner reported this, it is invalid instead of tech evangelism.

$ wget http://216.228.1.34/pdfexpress/log.asp?siteid=dumb05
--14:39:10--  http://216.228.1.34/pdfexpress/log.asp?siteid=dumb05
           => `log.asp@siteid=dumb05'
Connecting to 216.228.1.34:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9,225 (9.0K) [text/html]

100%[===================================>] 9,225         --.--K/s            
Group: security
Status: UNCONFIRMED → RESOLVED
CC list accessible: false
Closed: 19 years ago
Not accessible to reporter
Resolution: --- → INVALID
The bug reported was that files sent by firefox don't show as pdf using their checker.

It doesn't say how the checker works. 

It wasn't about the mime types sent by the server. (Thought maybe its related ...)

///

I remember reading about bugs like this though ... (pdf corruption).

https://bugzilla.mozilla.org/show_bug.cgi?id=142517
It's hard to help using the reporter's site. 

It is too much for the reporter to expect people to fill in all their personal information just to help the reporter with a bug.

Perhaps the reporter could provide a way to bypass all that junk.
(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9)
> Gecko/20050711 Firefox/1.0.5
> Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9)
> Gecko/20050711 Firefox/1.0.5
> Our webpage determines the Mime type of a file for uploading, for example PDF.
> We first determine the Mime type in order to determine if we will allow this
> file to be uploaded. Using Firefox, the PDF Mime type is not seen as PDF. 
(In reply to comment #1)
> IE quesses the mime type sent by the serve. Firefox respects it. 
> See <http://bclary.com/2004/09/26/boot-camp-content-type>
> Not security sensitive. 
> Since the site owner reported this, it is invalid instead of tech evangelism.
>
(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9)
> Gecko/20050711 Firefox/1.0.5
> Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9)
> Gecko/20050711 Firefox/1.0.5
> Our webpage determines the Mime type of a file for uploading, for example PDF.
> We first determine the Mime type in order to determine if we will allow this
> file to be uploaded. Using Firefox, the PDF Mime type is not seen as PDF. Using
> IE, it is seen as a PDF. I did not see this problem in the list of current
> bugs. Firefox 1.5 is installed.
> Reproducible: Always
> Steps to Reproduce:
(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9)
> Gecko/20050711 Firefox/1.0.5
> Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9)
> Gecko/20050711 Firefox/1.0.5
> Our webpage determines the Mime type of a file for uploading, for example PDF.
> We first determine the Mime type in order to determine if we will allow this
> file to be uploaded. Using Firefox, the PDF Mime type is not seen as PDF. Using
> IE, it is seen as a PDF. I did not see this problem in the list of current
> bugs. Firefox 1.5 is installed.
> Reproducible: Always
> Steps to Reproduce:
This bug was about something firefox sends, not something we detect on download. Might still be invalid (are we sending a correct encoding the site simply doesn't like?), but we should eval the right bug before determining that. reopening
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
That said, I uploaded a file and got the "1 of 99" message and "Status*:  	PDF Passed PDF Check; PDF is IEEE Xplore-compatible" so it looks like it's working to me. I put in fake information to create the account so I didn't get to see what the emailed response was.
Steps to reproduce:

1. Download a PDF sent as "application/unknown" (use http://philringnalda.com/mtests/uploadtype/unknown/index.pdf if you don't have a misconfigured server handy)

2. Choose to open it in Acrobat, and to "Do this automatically...".

3. Upload a PDF to something that will tell you the mime type your browser sent, like http://philringnalda.com/mtests/uploadtype/

(4. Figure out which entry in Tools - Options - Downloads - View & Edit Actions is the one for application/unknown, by choosing Change Action and looking at the gray text at the top of the dialog, and delete that one, and try uploading again, until you've deleted every non-application/pdf entry you created because of every misconfigured server you've ever encountered.)

At which point, as crf says, you've found bug 316143

*** This bug has been marked as a duplicate of 316143 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.