Closed Bug 1344617 Opened 8 years ago Closed 8 years ago

Clicking on a link in page source sometimes displays gibberish instead of downloading/displaying file

Categories

(Toolkit :: View Source, defect)

51 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 472417

People

(Reporter: bfd-3v0, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 Build ID: 20170125094131 Steps to reproduce: - Go to the following page and press CTRL+U to display the source. https://www.w3.org/2010/05/video/mediaevents.html - Identify the movie source link: <source id='mp4' src="https://media.w3.org/2010/05/sintel/trailer.mp4" type='video/mp4'> and click on the mp4 link. An alternative way to trigger the problem is to simply type in the address bar: view-source:https://media.w3.org/2010/05/sintel/trailer.mp4 Actual results: The browser follows the link and displays strange characters. Expected results: The movie should be displayed in a player, or clicking on the link should trigger the movie download. This happens for other movie extensions as well. I suspect this is related to #1089357, but I don't know how I can check the headers when following links this way.
Status: UNCONFIRMED → RESOLVED
Has STR: --- → yes
Closed: 8 years ago
Component: Untriaged → View Source
Product: Firefox → Toolkit
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.