Opened 2 years ago

Closed 2 years ago

#22003 closed task (fixed)

Redirect Linux and OSX update URLs from update_2 to update_3

Reported by: boklm Owned by: boklm
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-7.0-must, TorBrowserTeam201706
Cc: tbb-team Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

In #19316 we changed the update url from update_2 to update_3, to force Windows users to go through the 6.5.2 version, and warn them if they don't have SSE support. As this does not affect Linux and OSX users, we should add some redirects to update them directly to the new versions.

We should do that for the release channel. For the alpha channel, we don't need to exclude the Windows users from the redirect as we don't have any alpha version that can detect SSE support, so we can redirect all update_2 urls to update_3.

Child Tickets

Change History (4)

comment:1 Changed 2 years ago by gk

Keywords: TorBrowserTeam201705 added; TorBrowserTeam201704 removed

Moving our tickets to May 2017.

comment:2 Changed 2 years ago by boklm

Keywords: tbb-7.0-must added

comment:3 Changed 2 years ago by gk

Keywords: TorBrowserTeam201706 added; TorBrowserTeam201705 removed

Moving our tickets to June.

comment:4 Changed 2 years ago by boklm

Resolution: fixed
Status: newclosed

I added the following lines at the top of the .htaccess file:

RewriteRule ^downloads.json https://aus1.torproject.org/torbrowser/update_3/release/downloads.json
RewriteRule ^Linux_x86-gcc3/(.*) https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86-gcc3/$1 [last]
RewriteRule ^Linux_x86_64-gcc3/(.*) https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/$1 [last]
RewriteRule ^Darwin_x86-gcc3/(.*) https://aus1.torproject.org/torbrowser/update_3/release/Darwin_x86-gcc3/$1 [last]
RewriteRule ^Darwin_x86_64-gcc3/(.*) https://aus1.torproject.org/torbrowser/update_3/release/Darwin_x86_64-gcc3/$1 [last]

I checked that the following URLs are now redirected from update_2 to update_3:
https://aus1.torproject.org/torbrowser/update_2/release/Linux_x86_64-gcc3/6.5.1/pl
https://aus1.torproject.org/torbrowser/update_2/release/Linux_x86-gcc3/6.5.1/pl
https://aus1.torproject.org/torbrowser/update_2/release/Darwin_x86-gcc3/6.5.1/pl
https://aus1.torproject.org/torbrowser/update_2/release/Darwin_x86_64-gcc3/6.5.1/pl
https://aus1.torproject.org/torbrowser/update_2/release/downloads.json

The following URL is not redirected:
https://aus1.torproject.org/torbrowser/update_2/release/WINNT_x86-gcc3/6.5.1/pl

Note: See TracTickets for help on using tickets.