This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24068 - Excessive requests message delivered as text/plain, 200 OK.
Summary: Excessive requests message delivered as text/plain, 200 OK.
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: Website (show other bugs)
Version: HEAD
Hardware: PC Linux
: P2 minor
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-12 01:53 UTC by Peter Oliver
Modified: 2018-05-09 20:10 UTC (History)
0 users

See Also:
jordancarrillo530: needinfo+


Attachments

Description Peter Oliver 2013-12-12 01:53:20 UTC
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