• Solved

content-disposition as attachment for HTML file downloads rendered text

I am at a loss as to why this started to happen only a few weeks ago after a years of working fine, and why it should happen at all: given a link to an HTML file where … (read more)

I am at a loss as to why this started to happen only a few weeks ago after a years of working fine, and why it should happen at all:

given a link to an HTML file where the headers include content-disposition set to attachment and the server (NextCloud30) mistakenly setting content-type to text/plain, what downloads is not the HTML file, but a text rendering of that HTML file, which is, of course, completely useless to the purpose and makes no sense whatsoever that it should happen. Why would anyone download a file and expect to the be interpreted?

But more to the point, how do I stop this behaviour. The above link, on my home cloud so be gentle, will work just fine on Firefox/Linux, but on Firefox/Android it will download as a 7k rendering of the file, renamed with the txt extension. The link itself is just a few holiday classics in the iRealPro format, which is, sadly, and HTML file. Up until two weeks ago, I would post a link in our band group chat, band members would click the link, be asked if they should launch iReal, and then iReal would ask if they would like to import this playlist.

what happens now is I post the NextCloud public link, they click and get a landing page that correctly describes the file as 20k HTML and has that previous link as the Download button. Clicking that gets you 7k of useless text.

I can't say for certain that this is a few 'feature' of a recent Firefox update or something that was changed in a minor update to Nextcloud. I believe it may also happen on Safari, but I haven't confirmed that, all I know is the link does not work on mobile for most users.

Here are the headers that curl reports, although I don't think Nextcloud gives me any option to change these:

content-security-policy: default-src 'self'; script-src 'self' 'nonce-mgMdbHYk4V+oWScEpk7i171o4ZyKPO7IxeSXK7sI63s='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self'; content-disposition: attachment; filename*=UTF-8Xmas%20Market.html; filename="Xmas%20Market.html" content-transfer-encoding: binary expires: 0 cache-control: must-revalidate, post-check=0, pre-check=0 x-accel-buffering: no set-cookie: oc_sessionPassphrase=%2Fegdgxxr7IrZtmyhNVtKFUUTuaGRP97kftOGnPzaj0WDg0DTeoWnq%2BjRFrtKqQPB5lt%2B7pqIHRhLLNwXOQpErhhw8LGyV7zkmBq1lKRKVtcrqgZQTgB8iPK%2By24iPZnd; path=/; secure; HttpOnly; SameSite=Lax set-cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax set-cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict set-cookie: ochghoy8fko5=n0ktulqqs85monimi7nm0hkqb5; path=/; secure; HttpOnly; SameSite=Lax strict-transport-security: max-age=15768000; includeSubDomains referrer-policy: no-referrer x-content-type-options: nosniff x-frame-options: SAMEORIGIN x-permitted-cross-domain-policies: none x-robots-tag: noindex, nofollow x-xss-protection: 1; mode=block content-length: 20456 content-type: text/plain;charset=UTF-8 date: Sun, 08 Dec 2024 18:25:07 GMT server: Apache

Asked by garym3 4 days ago

Answered by garym3 4 days ago

  • Solved

streaming video won't open on Firefox but does on Chrome

I tried to open this streaming video from CBS News. It won't open on Firefox but it does play on Chrome. Both browsers are updated to the latest version. (Android) https… (read more)

I tried to open this streaming video from CBS News. It won't open on Firefox but it does play on Chrome. Both browsers are updated to the latest version. (Android)

https://www.cbsnews.com/video/110424-cbs-evening-news/

Asked by jenna 1 month ago

Answered by Paul 1 month ago

  • Solved

No Login Pop-Up Window on Mobile Site

I'm unsure if this is a Firefox Mobile issue (since the site's login pop-up works just fine on my laptop that I also use FF on), or an issue with the website itself, but … (read more)

I'm unsure if this is a Firefox Mobile issue (since the site's login pop-up works just fine on my laptop that I also use FF on), or an issue with the website itself, but I've already emailed the site about it and got no response yet. So, figured I'd try here. Also, I just tried re-enabling Chrome to truly see if this is browser or app related and sadly this works on Chrome's Mobile but not FF's.

On the mobile and desktop version of this site: thingstogetme.com

There's an option to login with Facebook or Apple ID. The Apple ID pop-up works fine, but the Facebook one does not. Again, this is only an issue on Mobile. The Facebook option will turn a darker blue once you tap on it, indicating it's been selected, but nothing will happen. If you tap the page, it'll go back to its regular, un-selected blue.

I've turned off uBlock Origin, switched between mobile and desktop pages, refreshed, nothing works for this problem. Thus this essentially soft-locks me out of this site unless I use my laptop.

Asked by Liv M 1 month ago

Answered by jonzn4SUSE 1 month ago

  • Solved

Issues with video performance

For the past few months, videos on YouTube haven't been playing properly. They load just fine and there's no issues with the auto, but once the video starts playing it wi… (read more)

For the past few months, videos on YouTube haven't been playing properly. They load just fine and there's no issues with the auto, but once the video starts playing it will sometimes be zoomed into the top left corner, making it impossible to properly see what's going on.

This happens with music videos too, both official and lyrical. It will be zoomed in close to the top left corner and just barely catches what's going on in the video. Sometimes, video do play like they're supposed to, but for the most part, they'll be zoomed in as soon as I hit play.

Asked by StarlightShadows 2 months ago

Answered by webum 1 month ago

  • Locked

Can't sign in to website

I can no longer sign in to my phone company home page to pay my bill, Frontier.com/login. what can I do to restore this feature? Duplicate thread: Thompson, we respon… (read more)

I can no longer sign in to my phone company home page to pay my bill, Frontier.com/login. what can I do to restore this feature?


Duplicate thread: Thompson, we responded to your question in your original thread: https://support.mozilla.org/en-US/questions/1454173

Please continue there. Thanks

Asked by thompson29 2 months ago