[whatwg] "C:\fakepath\" in HTML5

Ian Hickson ian at hixie.ch
Tue Mar 24 01:18:11 PDT 2009


On Tue, 24 Mar 2009, Julian Reschke wrote:
> Ian Hickson wrote:
> > That's encouraging.
> > 
> > According to Microsoft:
> > 
> >    http://blogs.msdn.com/ie/archive/2009/03/20/rtm-platform-changes.aspx
> > 
> > ...the problem was with "a significant number of sites (e.g. education
> > products, several movie sharing sites, etc) and devices (e.g. popular home
> > routers)". The blog post above includes a screenshot of a firmware upgrade
> > screen that has this problem. This is not a site that could be fixed.
> > 
> > Maybe someone from Opera could let us know which sites caused them to do
> > this? Was it many, as with Microsoft?
> > 
> > This was originally brought up in the W3C HTMLWG:
> > 
> >    http://www.w3.org/Bugs/Public/show_bug.cgi?id=6529
> 
> Speaking of which, if the value really needs a path separator, why not simply
> use "./filename" instead of "filename"?

Opera and IE used the Windows syntax for the reasons outlined in the blog 
post cited above.

I followed their lead because I have found that speccing something that is 
already implemented is more effective than inventing new syntaxes when it 
comes to getting implementations. In this particular case, it also seems 
that the "./" syntax wouldn't in fact fix the bugs that were found.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list