1. 02 Oct, 2018 1 commit
    • anonym's avatar
      getTorBrowserUserAgent: simplify. · 333e74ae
      anonym authored
      Let's just duplicate the Tor Browser user-agent string, which hasn't
      changed for years (and likely won't for a loooooong time). Generating
      it from Tor Browser 8.0.2+ is much more complicated since it has been
      split up in several different prefs.
      
      Refs: #16017
      333e74ae
  2. 11 Feb, 2016 2 commits
    • anonym's avatar
      Separate set -eu in to separate statements. · 0bd8d3a0
      anonym authored
      ... like we do in most places. This makes these highly relevant
      properties of the scripts a bit more easy to spot.
      0bd8d3a0
    • anonym's avatar
      Avoid set -u issue when testing if variable is set or not. · 364a3c8d
      anonym authored
      Whenever there's a risk that we will reference a shell variable in a
      script run with `set -u` (including libraries that we sources from
      such scripts) we must reference the variable in a way so it gets a
      default value, i.e. `${VAR:-}` to give it the empty string as the
      default (which is what generally makes sense).
      
      In particular, it's quite clear that in all cases where we do
      something like `[ -n "${VAR}" ]` or `[ -z "${VAR}" ]`, where an
      expected value is the empty string, which could mean that the variable
      is not initialized, we should give such a default (as the empty
      string).
      364a3c8d
  3. 30 Nov, 2015 1 commit
  4. 22 Nov, 2015 1 commit
  5. 10 Oct, 2014 1 commit
  6. 29 Sep, 2014 1 commit
  7. 24 Sep, 2014 2 commits
  8. 20 Sep, 2014 1 commit
  9. 16 Dec, 2013 1 commit
  10. 15 Dec, 2013 1 commit