torproxy icon indicating copy to clipboard operation
torproxy copied to clipboard

Custom env variables started with TOR_ prefix with spaces in value processed incorrectly

Open erroric opened this issue 4 years ago • 0 comments

Hi! I had bad configuration error on start when trying to set some TOR variables like

AccountingMax 100 GB
AccountingStart month 1 00:00

for example, env variable:

TOR_AccountingStart=month 1 00:00

processed incorrectly inside torproxy.sh bash script, becomes in broken torrc file content:

...
AccountingStart "month"
 1
0 "00:00"
...

erroric avatar Sep 04 '20 13:09 erroric