How to make firefox to correctly set the default file name .pdf, if the url is extension .html?
Generate a pdf file in the headers I send header('Content-type: application/pdf');
Link to the script has the track view root/gen_pdf/name_file.hml?get_params
The document should display on preview with the possibility of further saving.
Chrome and Opera menu PREV. view prompt you to save the file as name_file.pdf , Firefox menu PREV.view the file name as the document specifies.pdf.
If the browsers are set to automatically download pdf: Chrome/Opera download file name_file.pdf; Firefox file name_file.html.
What are the solutions to firefox by default set the file name name_file.pdf