Re: referer not working?

On 6/24/21 17:03, Chuck Houpt wrote:

>> On Jun 23, 2021, at 9:48 AM, Theodore W. Hall <twhall@twhall.com> wrote:
>>
>> Is there a different URL to force the non-NU version that still works
>> with the specific referer page?
> 
> Referrers don't work across HTTP/HTTPS boundaries as noted here:
> 
> https://validator.w3.org/docs/help.html#faq-referer
> 
> If you change the validator.w3.org URL to HTTPS, it should work on your HTTPS page.


Many thanks Chuck.  I thought I had tried that.  I find that the
"referer" keyword still doesn't work, even after I navigate to the
page to validate as https: and use https: for the validator.

I note that the FAQ page you referenced says:

    "As the validator at validator.w3.org is currently not available over
     HTTPS, this referrer feature will not work reliably for documents
     transferred over secure protocols (usually https URLs) with it."

However, if I replace "referer" with the full https: uri for the page to
validate, it works.

A similar approach with the CSS validator does not work.  I can't get
https://jigsaw.w3.org/css-validator/check to work for the specific page,
either as referer or as a full specific page URI.  It always truncates
the uri after the hostname and tries to validate the site root.

Cheers,

-- 

Ted Hall

Received on Friday, 25 June 2021 11:55:03 UTC