Re: file:// scheme processing makes invalid assumption

On Tuesday 21 February 2006 17:29, Chris Beall wrote:
> Amaya 8.8.4, Windows 98 SE
>
> Scenario:
>
> Open Amaya.  On the 'Open' line, type file://A:/quicktest.html. Press
> Enter.
>
> Results:
>  The Open line is changed to "c:\A:\quicktest.html".  This is incorrect for
> 2 reasons:
>   1. Amaya has ADDED a disk ID to the front of the URL, for no reason.
>   2. Amaya has assumed that the disk ID should be "c:", which is wrong,
> since the user specified A:.

This problem is now fixed.

>  Because the URL is invalid, Amaya starts an empty page.  (Why does it not
> return a 404 error?)

We'll change that.
>
> I believe a correct implementation would internally strip the 'file://'
> from the line (leaving it unchanged on the 'Open' line), and pass the
> remainder to the OS.  In the event the OS cannot find the file, an internal
> 404-error page would be displayed.
>
> Chris Beall

-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Tuesday, 7 March 2006 10:06:57 UTC