[tor-bugs] #18893 [Metrics/Globe]: Redirect Globe requests to Atlas

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jul 3 07:55:26 UTC 2016


#18893: Redirect Globe requests to Atlas
----------------------------------------------+------------------------
 Reporter:  karsten                           |          Owner:  irl
     Type:  enhancement                       |         Status:  closed
 Priority:  Medium                            |      Milestone:
Component:  Metrics/Globe                     |        Version:
 Severity:  Normal                            |     Resolution:  fixed
 Keywords:  complete-before-abandoning-globe  |  Actual Points:
Parent ID:                                    |         Points:
 Reviewer:                                    |        Sponsor:
----------------------------------------------+------------------------
Changes (by karsten):

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


Comment:

 Alright, we probably don't need the redirection code in a Git repo.  Let
 me paste the final version that is deployed here, and it'll be archived in
 Trac and all our inboxes (or at least the inboxes of those who are
 subscribed to tor-bugs@):

 {{{
 <html>
 <head>
 <title>Redirecting to Tor Atlas...</title>
 <script type="text/javascript">
 (function () {
     var atlas = "https://atlas.torproject.org/"
     var hash = window.location.hash;
     hash = hash.startsWith("#/") ? hash.substring(2) : hash.substring(1);
     if (!hash) {
         window.location.replace(atlas);
     } else if (hash.startsWith("relay/")) {
         window.location.replace(atlas + "#details/" + hash.substring(6));
     } else if (hash.startsWith("search/query=")) {
         window.location.replace(atlas + "#search/" + hash.substring(13));
     } else if (hash.startsWith("top10")) {
         window.location.replace(atlas + "#top10");
     } else {
         window.location.replace(atlas);
     }
 })();
 </script>
 </head>
 <body>
         <h1>Globe is shutdown</h1>
         <p>Globe has been shut down. <a
         href="https://atlas.torproject.org/">Atlas</a> provides the same
         functionality that Globe has provided in the past. If you have
         JavaScript enabled, you will be redirected shortly.</p>
 </body>
 </html>
 }}}

 Thanks again!  Closing.

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


More information about the tor-bugs mailing list