torproxy
torproxy copied to clipboard
Custom env variables started with TOR_ prefix with spaces in value processed incorrectly
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"
...