[or-cvs] [metrics-web/master] Replace http:// links with relative links.
karsten at torproject.org
karsten at torproject.org
Wed Sep 22 12:02:39 UTC 2010
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Wed, 22 Sep 2010 13:56:00 +0200
Subject: Replace http:// links with relative links.
Commit: 3b4ab87951937c8f594a66a76598ed0d94f870fc
---
.../torproject/ernie/web/DescriptorServlet.java | 9 ++++-----
.../torproject/ernie/web/ExoneraTorServlet.java | 9 ++++-----
.../torproject/ernie/web/RelaySearchServlet.java | 9 ++++-----
src/org/torproject/ernie/web/RelayServlet.java | 9 ++++-----
4 files changed, 16 insertions(+), 20 deletions(-)
diff --git a/src/org/torproject/ernie/web/DescriptorServlet.java b/src/org/torproject/ernie/web/DescriptorServlet.java
index 1a57df2..b26144c 100644
--- a/src/org/torproject/ernie/web/DescriptorServlet.java
+++ b/src/org/torproject/ernie/web/DescriptorServlet.java
@@ -52,9 +52,9 @@ public class DescriptorServlet extends HttpServlet {
+ " <title>Relay Descriptor</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"
@@ -63,8 +63,7 @@ public class DescriptorServlet extends HttpServlet {
+ "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\" "
+ + "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"
diff --git a/src/org/torproject/ernie/web/ExoneraTorServlet.java b/src/org/torproject/ernie/web/ExoneraTorServlet.java
index ecc4fed..67a4f20 100644
--- a/src/org/torproject/ernie/web/ExoneraTorServlet.java
+++ b/src/org/torproject/ernie/web/ExoneraTorServlet.java
@@ -23,9 +23,9 @@ public class ExoneraTorServlet extends HttpServlet {
+ " <title>ExoneraTor</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"
@@ -34,8 +34,7 @@ public class ExoneraTorServlet extends HttpServlet {
+ "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\" "
+ + "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"
diff --git a/src/org/torproject/ernie/web/RelaySearchServlet.java b/src/org/torproject/ernie/web/RelaySearchServlet.java
index 2f6073b..f61d70e 100644
--- a/src/org/torproject/ernie/web/RelaySearchServlet.java
+++ b/src/org/torproject/ernie/web/RelaySearchServlet.java
@@ -96,9 +96,9 @@ public class RelaySearchServlet extends HttpServlet {
+ " <title>Relay Search</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"
@@ -107,8 +107,7 @@ public class RelaySearchServlet extends HttpServlet {
+ "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\" "
+ + "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"
diff --git a/src/org/torproject/ernie/web/RelayServlet.java b/src/org/torproject/ernie/web/RelayServlet.java
index 597c298..3d82de6 100644
--- a/src/org/torproject/ernie/web/RelayServlet.java
+++ b/src/org/torproject/ernie/web/RelayServlet.java
@@ -59,9 +59,9 @@ public class RelayServlet extends HttpServlet {
+ " <title>Relay</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"
@@ -70,8 +70,7 @@ public class RelayServlet extends HttpServlet {
+ "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\" "
+ + "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"
--
1.7.1
More information about the tor-commits
mailing list