Quantcast
Channel: Internet Explorer 8, 9, 10, 11 forum
Viewing all articles
Browse latest Browse all 10469

"C:\fakepath" issue with HTML5 file upload control in Internet Explorer

$
0
0

Hi Team,

We are developing Office apps, which consists of HTML5 and JavaScript pages. To protect business logic, we are planning to obfuscate source codes (especially JavaScript files) with free/paid tools.

As per functionality of the office app, we browse file(s) and get the file path. With original source code, we are able to get file path correctly. But with obfuscated code (obfuscated using free/paid tools), we are getting file path as “C:\fakepath\<FileName>” irrespective of file location.

We tried with sample HTML5 page and one JavaScript file with browse functionality without office app context. Its same behavior.

We found that as per specifications of HTML5, file upload control should not reveal the real local path (details…). If this is the case, why it is showing correct path with original source code? Our requirement is to get real local path of file when JavaScript is obfuscated. How to get the correct path (without doing modification in IE settings)?

Thanks in Advance

Rakesh Ranjan


Follow me @ Blog | Facebook | LinkedIn |Twitter


Viewing all articles
Browse latest Browse all 10469

Trending Articles