OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: securityconscious on February 14, 2021, 09:29:44 AM

Title: Download button is opening a webpage with text of ISO.
Post by: securityconscious on February 14, 2021, 09:29:44 AM
When I press the download button, instead of allowing me to save the ISO file or IMG file, it is opening a webpage with garbled text, it is completely freezing the browser, I'm assuming it is the contents of the ISO file or IMG file.

To avoid this problem I have to right click on the download button and select something like save this file as to actually save the ISO file or IMG file.
Title: Re: Download button is opening a webpage with text of ISO.
Post by: lfirewall1243 on February 15, 2021, 10:45:53 AM
In which context?

We need some more informations.

Title: Re: Download button is opening a webpage with text of ISO.
Post by: securityconscious on February 17, 2021, 06:18:44 AM
Quote from: lfirewall1243 on February 15, 2021, 10:45:53 AM
In which context?

We need some more informations.

Type opnsense.org in your browser

Click on Download

Select a mirror

After selecting a mirror a download button will be shown, clicking on the download button is opening the ISO file or IMG file in a new tab instead of allowing me to save it.
Title: Re: Download button is opening a webpage with text of ISO.
Post by: Fright on February 17, 2021, 07:42:29 AM
client browser does not respect content-type header.
client-side issue
Title: Re: Download button is opening a webpage with text of ISO.
Post by: Gauss23 on February 17, 2021, 07:44:20 AM
Quote from: securityconscious on February 17, 2021, 06:18:44 AM
Type opnsense.org in your browser

Click on Download

Select a mirror

After selecting a mirror a download button will be shown, clicking on the download button is opening the ISO file or IMG file in a new tab instead of allowing me to save it.

Which browser and version are you using? Which OS?

Please tell us what you select in the dropdowns:
- System architecture
- image type
- mirror

This is something I would at least expect when reporting a possible bug on a website.

Then someone can try to find it why your browser is doing that. I just tried some combinations and it works as expected, download starts.
Title: Re: Download button is opening a webpage with text of ISO.
Post by: securityconscious on February 18, 2021, 08:08:52 PM
Quote from: Fright on February 17, 2021, 07:42:29 AM
client browser does not respect content-type header.
client-side issue

I don't have this problem on other websites, including firewall download sites.
Title: Re: Download button is opening a webpage with text of ISO.
Post by: securityconscious on February 18, 2021, 08:10:14 PM
Quote from: Gauss23 on February 17, 2021, 07:44:20 AM
Which browser and version are you using? Which OS?

Please tell us what you select in the dropdowns:
- System architecture
- image type
- mirror

This is something I would at least expect when reporting a possible bug on a website.

Then someone can try to find it why your browser is doing that. I just tried some combinations and it works as expected, download starts.

Firefox latest. Fedora OS

System architecture: amd64
image type: any
mirror: any
Title: Re: Download button is opening a webpage with text of ISO.
Post by: Gauss23 on February 18, 2021, 08:16:53 PM
Quote from: securityconscious on February 17, 2021, 06:18:44 AM
After selecting a mirror a download button will be shown, clicking on the download button is opening the ISO file or IMG file in a new tab instead of allowing me to save it.

Can't reproduce that. Tried with latest Firefox on MacOS. It's not downloading an ISO or IMG. It's a bz2 file. Maybe your browser is not handling that correct.
Title: Re: Download button is opening a webpage with text of ISO.
Post by: securityconscious on February 18, 2021, 08:29:09 PM
Quote from: Gauss23 on February 18, 2021, 08:16:53 PM
Quote from: securityconscious on February 17, 2021, 06:18:44 AM
After selecting a mirror a download button will be shown, clicking on the download button is opening the ISO file or IMG file in a new tab instead of allowing me to save it.

Can't reproduce that. Tried with latest Firefox on MacOS. It's not downloading an ISO or IMG. It's a bz2 file. Maybe your browser is not handling that correct.

I assumed it wasn't compressed, so I thought the file extension is ISO or IMG. How are you doing this? Are you right clicking on the download button and selecting save as or just left clicking on the download button?

I'm getting the same problem even now.
Title: Re: Download button is opening a webpage with text of ISO.
Post by: Gauss23 on February 18, 2021, 08:33:38 PM
Just a normal left-click. Download starts with the correct filename to my download folder.