[tbb-bugs] #22525 [Applications/Tor Browser]: content policy filter does not handle relative Locations
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jun 7 21:00:47 UTC 2017
#22525: content policy filter does not handle relative Locations
-------------------------------------+-------------------------------------
Reporter: mcs | Owner: tbb-team
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor | Version:
Browser | Keywords: tbb-torbutton,
Severity: Normal | TorBrowserTeam201706
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------------+-------------------------------------
This is a spinoff from #21627.
If you visit a page that returns a Location header whose value is a
relative URL, the following appears on the browser console:
NS_ERROR_MALFORMED_URI: Component returned failure code: 0x804b000a
(NS_ERROR_MALFORMED_URI) [nsIIOService.newURI] content-policy.js:157
An URL that demonstrates the problem is http://httpstat.us/no-such-page
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22525>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list