mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Give the nice message about not being an HTTP proxy an <h1> headline
svn:r1139
This commit is contained in:
parent
2849ff13e2
commit
1bc2384c5a
@ -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"
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user