This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23485 - The 'path.substr(0, 12) == "C:\\fakepath\\"' check will cause the result to be incorrect in a legacy user agent if the file truly is located at "C:\fakepath\foo\bar.txt"
Summary: The 'path.substr(0, 12) == "C:\\fakepath\\"' check will cause the result to b...
Status: RESOLVED WONTFIX
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-12 00:13 UTC by contributor
Modified: 2013-11-13 22:42 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2013-10-12 00:13:08 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html
Multipage: http://www.whatwg.org/C#fakepath-srsly
Complete: http://www.whatwg.org/c#fakepath-srsly
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
The 'path.substr(0, 12) == "C:\\fakepath\\"' check will cause the result to be
incorrect in a legacy user agent if the file truly is located at
"C:\fakepath\foo\bar.txt"

Posted from: 206.169.17.130
User agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.69 Safari/537.36
Comment 1 Ian 'Hixie' Hickson 2013-10-13 21:02:03 UTC
Yeah. Not clear that we can do anything about that, though.
Comment 2 Ian 'Hixie' Hickson 2013-11-13 22:42:52 UTC
WONTFIX, per comment 1. Reopen if you can find a solution; I don't see one.