In Tor Browser 7.0.10 (and earlier too, see below), if I open a local page via file:// only the HTML is rendered, but images are broken and CSS isn't applied at all. For Tails this breaks several important features, like reading the local copy of the documentation (e.g. when offline) and the start page for our Unsafe Browser.
This breakage started earlier, and it is a bit "interesting":
Tor Browser 7.0.7 is the last ok release (both images and CSS loads).
Tor Browser 7.0.7 -> 7.0.8 only upgrades Torbutton 1.9.7.8 -> 1.9.7.9 which only updates some translations + fixups on the donation banner. That is somehow enough to break images on local pages (but CSS is still fine). Disabling Torbutton makes the images work again.
Tor Browser 7.0.8 -> 7.0.9 only fixes #24052 (moved) ("Streamline handling of file:// resources") which breaks both images and CSS. I say "both" despite the previous bullet indicating that Torbutton is responsible for breaking images, because disabling Torbutton no longer fixes image loading in this version. So it indeed seems that the fix for #24052 (moved) alone breaks both CSS and images.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
Trac: Description: In Tor Browser 7.0.10 (and earlier too, see below), if I open a local page via file:// only the HTML is rendered, but images are broken and CSS isn't applied at all. For Tails this breaks several important features, like reading the local copy of the documentation (e.g. when offline) and the start page for our Unsafe Browser.
This breakage started earlier, and it is a bit "interesting":
Tor Browser 7.0.7 is the last ok release (both images and CSS loads).
Tor Browser 7.0.7 -> 7.0.8 only upgrades Torbutton 1.9.7.8 -> 1.9.7.9 which only updates some translations + fixups on the donation banner. That is somehow enough to break images on local pages (but CSS is still fine). Disabling Torbutton makes the images work again.
Tor Browser 7.0.8 -> 7.0.9 only fixes #24052 (moved) ("Streamline handling of file:// resources") which breaks both images and CSS. I say "both" despite the previous bullet indicating that Torbutton is responsible for breaking images, because disabling Torbutton no longer fixes image loading in this version. So it indeed seems that the fix for #24502 (moved) alone breaks both CSS and images.
to
In Tor Browser 7.0.10 (and earlier too, see below), if I open a local page via file:// only the HTML is rendered, but images are broken and CSS isn't applied at all. For Tails this breaks several important features, like reading the local copy of the documentation (e.g. when offline) and the start page for our Unsafe Browser.
This breakage started earlier, and it is a bit "interesting":
Tor Browser 7.0.7 is the last ok release (both images and CSS loads).
Tor Browser 7.0.7 -> 7.0.8 only upgrades Torbutton 1.9.7.8 -> 1.9.7.9 which only updates some translations + fixups on the donation banner. That is somehow enough to break images on local pages (but CSS is still fine). Disabling Torbutton makes the images work again.
Tor Browser 7.0.8 -> 7.0.9 only fixes #24052 (moved) ("Streamline handling of file:// resources") which breaks both images and CSS. I say "both" despite the previous bullet indicating that Torbutton is responsible for breaking images, because disabling Torbutton no longer fixes image loading in this version. So it indeed seems that the fix for #24052 (moved) alone breaks both CSS and images.
I'm also severly affected by that as I work on the Tails website from Tails itself: I build a local copy of the website and test my changes on file:// before pushing them on the production website.
But I have a workaround for now which is to fallback on Firefox ESR for browsing file:// URLs.
I also noticed that the links between pages are broken as well: clicking on them as no effect.
To test this, if you have access to Tails, you can browse the embedded version of our website:
Otherwise, save your favorite web page locally (Right-click on the page and Save Page As) and open it back with Tor Browser (Ctrl+O and open the page that you saved).
In both cases these pages will appear as raw HTML with no CSS, images, or JS and broken links.
This is not just a problem in Tails. I'm experiencing the same problem in Debian Stretch and Tor 7.09. Example web app that is unusable from file:// is bip32.github.io. This is a client-side javascript app that should really only be run locally because it exposes bitcoin private keys.
Version 7.0.11 on my mac is affected too, I think is very silly problem, is planned to be resolved? Any simple workaround? I'm using scarpbook and it's pretty impossibile to handle file on my disk... :(
We fixed the most important regression introduced by this bug in Tails by opening the "Tails documentation" launcher on our desktop on the production website instead of offline when people are connected to Tor. But we're still affected in other ways:
The homepage of our Unsafe Browser (used to connect to captive portal) is not translated anymore.
We used Yelp to browser our documentation when offline but it's not as good as a real browser.
Contributors working from Tails can't use Tor Browser anymore to work on our website (for example, trnaslators).
So yep, we're interested in knowing if this bug is planned to be fixed. Even if there's no real hurry...
We fixed the most important regression introduced by this bug in Tails by opening the "Tails documentation" launcher on our desktop on the production website instead of offline when people are connected to Tor. But we're still affected in other ways:
The homepage of our Unsafe Browser (used to connect to captive portal) is not translated anymore.
We used Yelp to browser our documentation when offline but it's not as good as a real browser.
Contributors working from Tails can't use Tor Browser anymore to work on our website (for example, trnaslators).
So yep, we're interested in knowing if this bug is planned to be fixed. Even if there's no real hurry...
Sure, it is planned but we need help from Mozilla with that one because this is a code area that seems to be prone to open up security holes...
Using inline CSS might be a workaround for local files you control (and invest the ressources to change). But there are other use-cases for local files, where this workaround is not feasable.
F.e. a local output of munin, which is now unusable in TBB. :(
This is affecting me too, using the version of Tor browser that is currently bundled in the latest release of Tails. When will the patched version of Tor be included with Tails? If it is a long way out, can someone please provide step-by-step directions to getting a proper version of Tor browser up and running in Tails? Thanks.
It would be nice if the unsafe browser could be used as a workaround, but the unsafe browser doesn't work at all when the computer is offline. Is that intentional? It seems like a bug to require connectivity to view a local webpage in the unsafe browser.