Open fmarier opened 6 months ago
The other thing that this suggests is that we are likely not running these URLs through our privacy filters (e.g. debouncer, query string filter).
To confirm, I updated the test page to add an fbclid
parameter to the URL and it doesn't get stripped out:
cc: @LorenzoMinto
@bsclifton is anyone able to take this issue?
@boocmp do you think you could take this? assuming @LorenzoMinto / @fallaciousreasoning have not started on it.
@fmarier I suspect this is probably a broader problem with our ApiRequestHelper
class so this probably affects everything that uses it :fearful:
ApiRequestHelper uses the SharedUploaderFactory which bypasses any Brave code for requests passing through it, I always thought it is by design.
cc @petemill not really sure on the best approach here if its by design that the APIRequestHelper
isn't going through Brave's request handling code?
I think this should be a News-specific fix (for these custom RSS feeds). We should not change any other internal requests.
Steps To Reproduce:
http
Actual
Expected
The request should be upgraded to HTTPS and no HTTP request should be visible in WireShark.
Originally reported at https://hackerone.com/reports/2502007