[or-cvs] [metrics-db/master] Replace http:// links with relative links.

karsten at torproject.org karsten at torproject.org
Wed Sep 22 12:02:08 UTC 2010


Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Wed, 22 Sep 2010 14:00:28 +0200
Subject: Replace http:// links with relative links.
Commit: e78647bf2381991eb7eb158a610812278e32e1a7

---
 .../ernie/db/ConsensusHealthChecker.java           |   14 +++++++-------
 .../torproject/ernie/db/LoggingConfiguration.java  |   14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/org/torproject/ernie/db/ConsensusHealthChecker.java b/src/org/torproject/ernie/db/ConsensusHealthChecker.java
index b27f56a..7b7a538 100644
--- a/src/org/torproject/ernie/db/ConsensusHealthChecker.java
+++ b/src/org/torproject/ernie/db/ConsensusHealthChecker.java
@@ -383,9 +383,9 @@ public class ConsensusHealthChecker {
           + "    <title>Tor Metrics Portal: Consensus health</title>\n"
           + "    <meta http-equiv=Content-Type content=\"text/html; "
             + "charset=iso-8859-1\">\n"
-          + "    <link href=\"http://www.torproject.org/stylesheet-"
-          + "ltr.css\" type=text/css rel=stylesheet>\n"
-          + "    <link href=\"http://www.torproject.org/favicon.ico\""
+          + "    <link href=\"/css/stylesheet-ltr.css\" type=text/css "
+            + "rel=stylesheet>\n"
+          + "    <link href=\"/images/favicon.ico\""
             + " type=image/x-icon rel=\"shortcut icon\">\n"
           + "  </head>\n"
           + "  <body>\n"
@@ -393,10 +393,10 @@ public class ConsensusHealthChecker {
           + "      <table class=\"banner\" border=\"0\" "
             + "cellpadding=\"0\" cellspacing=\"0\" summary=\"\">\n"
           + "        <tr>\n"
-          + "          <td class=\"banner-left\"><a href=\"https://"
-            + "www.torproject.org/\"><img src=\"http://www.torproject"
-            + ".org/images/top-left.png\" alt=\"Click to go to home "
-            + "page\" width=\"193\" height=\"79\"></a></td>\n"
+          + "          <td class=\"banner-left\"><a "
+            + "href=\"/index.html\"><img src=\"/images/top-left.png\" "
+            + "alt=\"Click to go to home page\" width=\"193\" "
+            + "height=\"79\"></a></td>\n"
           + "          <td class=\"banner-middle\">\n"
           + "            <a href=\"/\">Home</a>\n"
           + "            <a href=\"graphs.html\">Graphs</a>\n"
diff --git a/src/org/torproject/ernie/db/LoggingConfiguration.java b/src/org/torproject/ernie/db/LoggingConfiguration.java
index 33d65a3..d32f661 100644
--- a/src/org/torproject/ernie/db/LoggingConfiguration.java
+++ b/src/org/torproject/ernie/db/LoggingConfiguration.java
@@ -101,9 +101,9 @@ public class LoggingConfiguration {
                 + "logs</title>\n"
               + "    <meta http-equiv=Content-Type content=\"text/html; "
                 + "charset=iso-8859-1\">\n"
-              + "    <link href=\"http://www.torproject.org/stylesheet-"
-              + "ltr.css\" type=text/css rel=stylesheet>\n"
-              + "    <link href=\"http://www.torproject.org/favicon.ico\""
+              + "    <link href=\"/css/stylesheet-ltr.css\" type=text/css "
+                + "rel=stylesheet>\n"
+              + "    <link href=\"/images/favicon.ico\""
                 + " type=image/x-icon rel=\"shortcut icon\">\n"
               + "  </head>\n"
               + "  <body>\n"
@@ -111,10 +111,10 @@ public class LoggingConfiguration {
               + "      <table class=\"banner\" border=\"0\" "
                 + "cellpadding=\"0\" cellspacing=\"0\" summary=\"\">\n"
               + "        <tr>\n"
-              + "          <td class=\"banner-left\"><a href=\"https://"
-                + "www.torproject.org/\"><img src=\"http://www.torproject"
-                + ".org/images/top-left.png\" alt=\"Click to go to home "
-                + "page\" width=\"193\" height=\"79\"></a></td>\n"
+              + "          <td class=\"banner-left\"><a "
+                + "href=\"/index.html\"><img src=\"/images/top-left.png\" "
+                + "alt=\"Click to go to home page\" width=\"193\" "
+                + "height=\"79\"></a></td>\n"
               + "          <td class=\"banner-middle\">\n"
               + "            <a href=\"/\">Home</a>\n"
               + "            <a href=\"graphs.html\">Graphs</a>\n"
-- 
1.7.1



More information about the tor-commits mailing list