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

Re: referer

From: Rick Merrill <rickmerrill@comcast.net>
Date: Fri, 25 Jul 2008 10:04:07 -0400
Message-ID: <4889DD57.5080708@comcast.net>
To: www-validator@w3.org

Nick,

the file under test is on my hard drive c:\
"file:///C:/BatCo/Schedule/NowPlaying.htm"

I suppose I could detect that in HTML by using
javascript. 

Apparently what I see is in fact the rule:
"the HTTP Referrer[spellchecker] header will not be sent when the 
referer[sic] is a non-HTTP (or non-HTTPS) page."
- http://support.microsoft.com/kb/178066

Rick

Nick Kew wrote:
>
>
> On 24 Jul 2008, at 15:19, Rick Merrill wrote:
>
>> I include the validator Icon on my pages that pass validation
>> and the link works fine when posted on my web site, but it
>> does not work if I open the web page from a file on my own computer,
>> saying
>>>
>>> No Referer header found!
>
> So you (or your sysop, network administrator, or something) have
> disabled the referer header.
>
>> http://validator.w3.org/check?uri=referer
>>
>> Has anyone built HTML code that detects no-referer and
>> instead uses the download page or
>>>
>>> Validate by File Upload
>> http://validator.w3.org/#validate_by_upload
>
> HTML code doesn't do anything.  It can't "detect no-referer"
> any more than, say, ASCII code can.  Sure, the no-referer
> page can give you other options - doesn't it already?
> But there's no possible way to validate the referring page
> if your privacy settings withhold that information.
>

-- 
http://www.batco.tv  for Ch 10 info and schedule
Received on Friday, 25 July 2008 14:04:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:30 GMT