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

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 12 14:30:56 CET 2016


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

Comment (by cypherpunks):

 Replying to [comment:5 adrelanos]:
 > Replying to [comment:3 cypherpunks]:
 > > Wouldn't
 > > {{{
 > > eval "${TBB_START_PROG}" "${@}"
 > > }}}
 > > also work? It avoids escaping things which is ugly IMO.
 >
 > No, that does not work.
 After some testing it seems the use of eval makes my solution not work
 because it concatenates its arguments into one command and executes the
 result. The concatenation step removes the string boundaries and makes TBB
 see arguments with spaces as separate arguments.

 Simply removing the eval does not work either.

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


More information about the Whonix-devel mailing list