소스 검색

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

svn:r1139
Peter Palfrader 21 년 전
부모
커밋
1bc2384c5a
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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"
 );