[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs