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

Re: [tor-bugs] #33682 [Internal Services/Tor Sysadmin Team]: TorBulkExitList.py has wrong mimetype



#33682: TorBulkExitList.py has wrong mimetype
-------------------------------------------------+------------------------
 Reporter:  arma                                 |          Owner:  tpa
     Type:  defect                               |         Status:  closed
 Priority:  Medium                               |      Milestone:
Component:  Internal Services/Tor Sysadmin Team  |        Version:
 Severity:  Normal                               |     Resolution:  fixed
 Keywords:                                       |  Actual Points:
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+------------------------
Changes (by anarcat):

 * status:  needs_revision => closed
 * resolution:   => fixed


Comment:

 > In the various exitlist changes, it looks like
 ​https://check.torproject.org/cgi-bin/TorBulkExitList.py
 has turned into a "download this python script" rather than the cgi that
 it used to be.

 FWIW, both URLs give the same thing here in Firefox: they both work.

 So I'm not sure how to reproduce the problem, but it does seem to make
 sense to redirect the old URL if it's deprecated anyways.

 so done with:

 {{{
 From 5a75a942228deabcc9d26bb897f7fc9a352f81bb Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@xxxxxxxxxx>
 Date: Wed, 25 Mar 2020 16:15:47 -0400
 Subject: [PATCH] somehow the alias did not work, use a Redirect (#33682)

 It seems to trigger problems on some platforms, although I haven't
 been able to reproduce the problem myself.
 ---
  modules/profile/templates/check/vhost.erb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/modules/profile/templates/check/vhost.erb
 b/modules/profile/templates/check/vhost.erb
 index 0704de7b..44a47b1e 100644
 --- a/modules/profile/templates/check/vhost.erb
 +++ b/modules/profile/templates/check/vhost.erb
 @@ -23,7 +23,7 @@ Use common-tor-vhost-https-redirect <%= @vhost_name %>
          Alias /exit-addresses /srv/tordnsel.torproject.org/lists/latest
          Alias /lists /srv/tordnsel.torproject.org/lists
          Alias /torbulkexitlist /srv/tordnsel.torproject.org/lists/bulk
 -        Alias /cgi-bin/TorBulkExitList.py
 /srv/tordnsel.torproject.org/lists/bulk
 +        Redirect permanent /cgi-bin/TorBulkExitList.py /torbulkexitlist

          <IfModule mod_proxy.c>
                  # XXX: should match above list
 --
 2.20.1
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33682#comment:4>
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