W3C home > Mailing lists > Public > www-validator@w3.org > March 2008

File Upload script dropping uploaded_file

From: Daniel Convissor <danielc@analysisandsolutions.com>
Date: Wed, 26 Mar 2008 20:00:57 -0400
To: www-validator@w3.org
Message-ID: <20080327000057.GA14900@panix.com>

Hi Folks:

I was using the Validate by File Upload system this morning without 
problems.  Tonight, every file I submit comes back with the following 
error message:

    Line 1, Column 0: end of document in prolog.

I'm looking at the post via HTTP Live Headers and it seems Firefox is 
submitting the request correctly (see headers below).



PS:  I'm not subscribed to the list.

POST /check HTTP/1.1
Host: validator.w3.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 
Gecko/20080201 Firefox/
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://validator.w3.org/check
Content-Type: multipart/form-data; 
Content-Length: 26752
Content-Disposition: form-data; name="uploaded_file"; 
Content-Type: text/html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
[... snipped for brevity on mailing list  ...]

Content-Disposition: form-data; name="charset"

(detect automatically)
Content-Disposition: form-data; name="doctype"

Content-Disposition: form-data; name="group"


 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
Received on Thursday, 27 March 2008 00:01:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:30:57 UTC