Opened 3 years ago

Closed 3 years ago

#21046 closed defect (fixed)

Security slider is reset to High on every launch of the sandboxed browser

Reported by: cypherpunks Owned by: yawning
Priority: Medium Milestone:
Component: Archived/Tor Browser Sandbox Version:
Severity: Minor Keywords: sandbox
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

It seems that the reinstall of mozilla.cfg is happening on every launch instead of the first launch after upgrading. This manifests itself as the security slider being reset to High on every launch because this is the only user-visible change.

I believe that the logic on line 502 of internal/ui/config/config.go is incorrect and that the Compare function from the strings package should be used instead, but I have not yet tested this change.

Child Tickets

Change History (1)

comment:1 Changed 3 years ago by yawning

Resolution: fixed
Status: newclosed

There is an issue, but wrong root cause (Read the documentation to string.Compare()).

https://gitweb.torproject.org/tor-browser/sandboxed-tor-browser.git/commit/?id=dc12dd1503922f6a7538df58b4d8c8a836907d3c

Note: See TracTickets for help on using tickets.