Re: file: referer

On Sun, 25 Sep 2005, Ville Skyttä wrote:

> On Sun, 2005-09-25 at 20:04 +0200, Frank Ellermann wrote:
>
>> Example, for...
>>
>> Referer: file:///d:/misc/test/homepage/httpd404.htm
>>
>> ...offer to validate d:/misc/test/homepage/httpd404.htm
>> by upload (on a special "bad file:-referer" error page).
>
> The only user agent that uses the value of the "value" attribute for
> file upload inputs that I'm aware of is Lynx.  Firefox, Opera, Konqueror
> and Elinks seem to ignore it.

No, Opera uses the value. Lynx does not. Lynx shows the value as the 
initial value of the field, but that's just because Lynx does not support 
file input at all - it treats <input type="file"> as <input type="text">.

On the other hand, file: URLs have nothing to do with file input.
They are by definition system-dependent (pseudo-)URLs that may refer to a 
resource in a computer.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Sunday, 25 September 2005 20:17:39 UTC