How to work around the FAKEPATH problem in Chrome

How to work around the FAKEPATH problem in Chrome

I cannot get the full path in the HTML5 “input type=”file” input component. (Confirmed on version 58.0.3029.110 (64-bit))

The full path cannot be obtained, and only the file name can be obtained, possibly for security reasons.

c:\fakepath\sample.xlsx

The image is covered up as shown in the following figure.

The above seems to be the case from IE8 as well.

However, there are workarounds, such as setting the browser as a “trusted site” so that the full path can be obtained.

コメント

Discover more from 株式会社CONFRAGE ITソリューション事業部

Subscribe now to keep reading and get access to the full archive.

Continue reading

Copied title and URL