This is a migrated thread and some comments may be shown as answers.

Upload in IE showing complete file name with drive (e.g. c:\test.txt)

1 Answer 199 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Sang
Top achievements
Rank 1
Sang asked on 16 Jan 2014, 12:20 AM
we have an issue with the upload in our MVC application that the full path is pulled back in IE while FF & Chrome only have file name.  Can any one provide any input on this?  TIA

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 Jan 2014, 09:07 AM
Hello Sang,

This is a browser-specific behavior, which depends on a security setting in Internet Explorer ("Include local directory path when uploading files to a server"). Providing the full file path is regarded as a security vulnerability and is by default disabled. The Kendo UI Upload itself strips this information and it is not provided in the widget event arguments. However, the full path will be sent to the server when uploading synchronously, as this process is not controlled by the Upload widget.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Upload
Asked by
Sang
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or