Opened 9 months ago

Closed 9 months ago

#32989 closed defect (duplicate)

Renaming Browser directory renables JavaScript

Reported by: pudim Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-9.0-issues
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

If I set the Safest Security Level, close the Browser, move the directory and open it again from the new location, it still reports the Safest Security Level is selected, but JavaScript is enabled!

By doing a diff on a clean extracted Browser and a configured one, I noticed that the torrc file gets some absolute paths, like DataDirectory /home/..., which may be the cause.

Tested with Tor Browser 9.0.4, downloaded from the website:
https://www.torproject.org/dist/torbrowser/9.0.4/tor-browser-linux64-9.0.4_en-US.tar.xz

Steps to reproduce:

wget https://www.torproject.org/dist/torbrowser/9.0.4/tor-browser-linux64-9.0.4_en-US.tar.xz
tar -xf tor-browser-linux64-9.0.4_en-US.tar.xz
cd tor-browser_en-US/Browser/
./start-tor-browser # set safest security level and close
./start-tor-browser youtube.com # site is broken
cd ../..
mv tor-browser_en-US somethingelse
cd somethingelse/Browser
./start-tor-browser youtube.com # site is working!!1

Child Tickets

Change History (1)

comment:1 Changed 9 months ago by gk

Resolution: duplicate
Status: newclosed

Duplicate of #27604.

Note: See TracTickets for help on using tickets.