- From: <bugzilla@jessica.w3.org>
- Date: Thu, 12 Dec 2013 01:53:20 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24068
Bug ID: 24068
Summary: Excessive requests message delivered as text/plain,
200 OK.
Product: Validator
Version: HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Website
Assignee: dave.null@w3.org
Reporter: w3.org@mavit.org.uk
QA Contact: www-validator-cvs@w3.org
When posting to http://validator.w3.org/check, if a number a requests have been
made recently then the "Status: 403 Forbidden" header incorrectly appears in
the body of the reply, not the head:
> curl -d '' -v http://validator.w3.org/check
* About to connect() to validator.w3.org port 80 (#0)
* Trying 128.30.52.91...
* Connected to validator.w3.org (128.30.52.91) port 80 (#0)
> POST /check HTTP/1.1
> User-Agent: curl/7.29.0
> Host: validator.w3.org
> Accept: */*
> Content-Length: 0
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 200 OK
< Date: Thu, 12 Dec 2013 01:44:02 GMT
< Server: Apache/2
< Last-Modified: Mon, 04 Nov 2013 10:04:00 GMT
< ETag: "18011-b73-4ea5708f26400"
< Accept-Ranges: bytes
< Content-Length: 2931
< Content-Type: text/plain
< Vary: Accept-Encoding
< Connection: close
<
Status: 403 Forbidden
Vary: Referer
Content-type: text/html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>W3C Validator - Excessive Use</title>
<link rev="made" href="mailto:www-validator@w3.org" />
<link rev="start" href="/" title="Home Page" />
<style type="text/css" media="all">@import "/style/base";
@import "/style/results";</style>
<style type="text/css">
div#result { padding-top: 0; }
div#result h2 { line-height: normal }
div#result p { margin: 1em 0em; }
#vs img { float: left; margin-right: 20px; margin-bottom: 10px; }
address { clear: both; margin: 24px 32px 0px; padding: 10px 0;
border-top-style: solid; border-width: thin; }
</style>
</head>
<body>
<div id="banner">
<h1 id="title">
<a href="http://www.w3.org/"><img alt="W3C" width="110" height="61"
id="logo" src="/images/w3c.png" /></a>
<a href="/"><span>Markup Validation Service</span></a>
</h1>
<p id="tagline">Check the markup (HTML, XHTML) of Web documents</p>
</div>
<div id="results_container">
<div id="result">
<h2 id="results" class="invalid">Sorry! This document can not be
checked.<br />
<strong>We have received excessive Validation requests
originating from your IP address</strong></h2>
<p>
Please use this free service reasonably. Your IP address will be
unblocked automatically after some time.
</p>
<p>
If you are using a browser plugin that checks every single page you
visit, please discontinue using it and only use selectively.
</p>
<p>
W3C will continue to increase Validator resources and services and
onlyimposes restrictions to ensure the service remains available to the
community.
</p>
<p id="vs">
<a href="https://validator-suite.w3.org/" title="Check your website
with the W3C Validator Suite"><img
src="https://validator-suite.w3.org/icons/vs-blue-256.png" alt="W3C Validator
Suite" /></a> If you need more extensive validation services beyond what our
free Validator service can accommodate, please consider our premium service, <a
href="https://validator-suite.w3.org/">W3C Validator Suite</a>.
</p>
</div><!-- result -->
</div><!-- results_container -->
<address>
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10" height="31" width="88"
alt="Valid XHTML 1.0!" /></a>
<a title="Send Feedback for the W3C Markup Validation Service"
href="/feedback.html">The W3C Validator Team</a><br />
</address>
</body>
</html>
* Closing connection 0
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 12 December 2013 01:53:22 UTC