[tor-bugs] #31405 [Community/Mirrors]: Download links of Tor mirrors should not point to torproject.org domain

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 12 17:20:15 UTC 2019


#31405: Download links of Tor mirrors should not point to torproject.org domain
-------------------------------+--------------------------
 Reporter:  anadahz            |          Owner:  hiro
     Type:  defect             |         Status:  assigned
 Priority:  Medium             |      Milestone:
Component:  Community/Mirrors  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+--------------------------
Changes (by ggus):

 * status:  new => assigned
 * owner:  ggus => hiro


Comment:

 Since Lektor migration, we're hardcoding an url "wwww.torproject.org" to
 download. This macro must be rewritten in order to download from mirrors:

 https://gitweb.torproject.org/project/web/tpo.git/tree/templates/macros/downloads.html

 {{{
 {% macro render_windows(version, alt) %}
   {% set download_prefix = 'https://www.torproject.org/dist/torbrowser/' +
 version + '/' %}
   {% if alt == 'en' %}
     {% set alt = 'en-US' %}
   {% elif alt == 'es' %}
     {% set alt = 'es-ES' %}
   {% endif %}
   {% set download_link_64 = download_prefix + 'torbrowser-install-win64-'
 + version + '_' + alt + '.exe' %}
   {% set download_link_32 = download_prefix + 'torbrowser-install-' +
 version + '_' + alt + '.exe' %}
   {% set sig_link_64 = download_link_64 + '.asc' %}
   {% set sig_link_32 = download_link_32 + '.asc' %}

 }}}

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


More information about the tor-bugs mailing list