Bläddra i källkod

Give the nice message about not being an HTTP proxy an <h1> headline

svn:r1139
Peter Palfrader 21 år sedan
förälder
incheckning
1bc2384c5a
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. 5 0
      src/or/buffers.c

+ 5 - 0
src/or/buffers.c

@@ -550,11 +550,16 @@ int fetch_from_buf_socks(buf_t *buf, socks_request_t *req) {
 "<title>Tor is not an HTTP Proxy</title>\n"
 "</head>\n"
 "<body>\n"
+"<h1>Tor is not an HTTP Proxy</h1>\n"
+"<p>\n"
 "It appears you have configured your web browser to use Tor as an HTTP Proxy.\n"
 "This is not correct: Tor provides a SOCKS proxy. Please configure your\n"
 "client accordingly.\n"
+"</p>\n"
+"<p>\n"
 "See <a href=\"http://freehaven.net/tor/cvs/INSTALL\">http://freehaven.net/tor/cvs/INSTALL</a> for more information.\n"
 "<!-- Plus this comment, to make the body response more than 512 bytes, so IE will be willing to display it. Comment comment comment comment comment comment comment comment comment comment comment comment.-->\n"
+"</p>\n"
 "</body>\n"
 "</html>\n"
 );