[tor-bugs] #26540 [Applications/Tor Browser]: Enabling pdfjs disableRange option prevents pdfs from loading
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jun 27 23:04:23 UTC 2018
#26540: Enabling pdfjs disableRange option prevents pdfs from loading
-------------------------------------+-------------------------------------
Reporter: pospeselr | Owner: pospeselr
Type: defect | Status: assigned
Priority: Medium | Milestone:
Component: Applications/Tor | Version:
Browser | Keywords: ff60-esr,
Severity: Normal | TorBrowserTeam201806
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------------+-------------------------------------
In ESR52, range-based requests in pdf.js (which allows pdfs to render-as-
load) go out on the default circuit as the relevant code was running in
the System security context. To 'fix' the issue, we simply disabled
range-based request with the 'pdfjs.disableRange' option. However, in
ESR60 based Tor Browser, enabling this option prevents PDFs from loading
at all. Without the option enabled, PDFs load and render, but the range-
based requests still go out on the default circuit.
Original bug: https://trac.torproject.org/projects/tor/ticket/15599
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26540>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list