Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FileUpload in Chrome giving some fake path value

I am trying to upload a file in Chrome then it is giving some fakepath value.for eg. It is giving file name like "C:\fakepath\Hi.txt" .Could you please explain me why it is coming? In other browsers it is working fine.

like image 276
Java_Alert Avatar asked Oct 23 '22 13:10

Java_Alert


1 Answers

Chrome shows it for security purpose.

Also check this link on meta stackoverflow

like image 137
Nandkumar Tekale Avatar answered Oct 31 '22 11:10

Nandkumar Tekale