The image uploader shows “fakepath” as path when using Chrome
On Mac OS X, when you upload an image, you get something like that:
Where, obviously, C:\fakepath gotta be fake, because Macs don't have a C drive. I don't really know the purpose of this box (aside from being a drop point for files), but if it can't display a path, maybe it should display something else?
As Rosinante says below, it seems all browsers return such a fake path. If that's the case, why display the path at all?
In case this doesn't look very obvious to most of the Windows users out there, Safari doesn't display the file path before
<input type="file"> elements. This file path box is actually an
<input> displayed next to the file upload button, and the developers made the conscious choice to display this fake path string in it.