[Whonix-devel] #18022 [Tor bundles/installation]: start-tor-browser.desktop parameter passing broken on spaces

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 13 05:18:54 CET 2016


#18022: start-tor-browser.desktop parameter passing broken on spaces
--------------------------------------+------------------------------
 Reporter:  adrelanos                 |          Owner:  erinn
     Type:  defect                    |         Status:  needs_review
 Priority:  Medium                    |      Milestone:
Component:  Tor bundles/installation  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  tbb-5.5                   |  Actual Points:
Parent ID:                            |         Points:
  Sponsor:                            |
--------------------------------------+------------------------------

Comment (by cypherpunks):

 Forgot to say: this implementation, in addition to properly handling
 arguments with spaces, supports spaces in the ExecShell command. So having
 something like
 {{{X-TorBrowser-ExecShell=./path\ with\ spaces/executable -o --longopt}}}
 works as expected.

 Also, this implementation quotes its "$1" argument, so that path can also
 have spaces. This is a potential bug in the current implementation, since
 all paths should be quoted.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18022#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the Whonix-devel mailing list