Closed Bug 442907 Opened 17 years ago Closed 16 years ago

PDF shown as text/plain

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: alisson.mariano, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9) Gecko/2008052906 Firefox/3.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9) Gecko/2008052906 Firefox/3.0 Quando solicito a geracao de um pdf via site da empresa, o mesmo encripita o pdf e nao o abre como deveria ser feito. Reproducible: Always Steps to Reproduce: 1. seleciono o modulo de criacao de pdf. 2. o firefox ao inves de criar o pdf simplesmente o encripta. 3.
Keywords: crash
From Google Translate (it appears to be Portuguese): When I ask the generation of a PDF via the company's website, as the encripita pdf and not the open as it should be done. choose a module for creation of PDF. firefox to the investor to create the PDF simply the enciphers. I'm still not sure what this bug is about. Reporter, could you please describe the problem in english?
Group: security
maybe marcio can help. sounds like they just want pdf files to open simply and automatically.
Attached image image of error
In english by google to yours... When I try to generate a file. Pdf from the Firefox 3, the same can not create the file, encrypts and what should be the document. Pdf
I'm Brazilian. Lemme try to help: "When I try to generate pdf files from the company's website, it* encrypts the file and doesn't open as expected. Steps: 1.Select pdf creation module 2.Firefox, instead of creating the file, only encrypts it" Alisson, I guess you can provide us a bit more of data (Portuguese below): 1.Are you trying to generate a pdf file inside Firefox? 2.Which pdf creation module is it? Is it an add-on? Which one? 3.How did you tell the file is encrypted? Did you open the file or are you seeing the results in Firefox window? 4.Is there an output file at all? 1.Você tentou gerar o arquivo dentro do Firefox? 2.Que módulo de criação de pdf é este? É um complemento? Qual o nome? 3.Como você concluiu que o arquivo foi criptografado (e não 'encriptado')? Você abriu o arquivo ou o resultado aparece na própria tela do Firefox? 4.O módulo gerou algum arquivo? Regards
I think he is trying to use a PDF creation link in his intranet Web site. then when he clicks the link, instead the expected download ( correct mime-type associated ) he can see a bunch of bytes showed in the page. Something like: " FJKDJLFKLDSHF9DJFKDSJFDJSFKLJDKLSFJKDF DSLFJKDSKL;FJDKLSJFKLDJSFKLJDKLSFJKLDJ DLSFJKLDFKLDSKF;SKFLKDSLFKDLS;FKL;DKSF ... " -- ilustrative example Which looks like encripted but in face this is the real file. This can be a mime-type issue. I wonder if all the other browsers are working. We need to ask him to give us the mime-type returned here.
Which is the best way of storing the mime-type returned? Pasting in a text file, directly here, printing, saving as a page, whatever...?
You need to tell your web server to send the PDF as application/pdf rather than text/plain.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Keywords: crash
Resolution: --- → INVALID
Summary: pdf sai encriptado → PDF shown as text/plain
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: