[tbb-bugs] #27232 [Applications/Tor Browser]: Updater redowloads and reinstalls update again

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 21 02:43:10 UTC 2018

#27232: Updater redowloads and reinstalls update again
 Reporter:  sysrqb                    |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  ff60-esr                  |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:

Comment (by sysrqb):

 I think this is because the update URL is formatted here:
   async formatUpdateURL(url) {
     const locale = await this.getLocale();

     return url.replace(/%(\w+)%/g, (match, name) => {
       switch (name) {
         case "PRODUCT":
           return Services.appinfo.name;
         case "VERSION":
           return TOR_BROWSER_VERSION;
           return Services.appinfo.version;

 `app.update.url` is:

 Looking at the update url:

 `%VERSION%` is compile-time hard-coded as the original version number. I
 think we want the `torbrowser.version` pref?

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

More information about the tbb-bugs mailing list