Completed
Last Updated: 16 Oct 2020 10:58 by ADMIN
Indra
Created on: 15 Oct 2020 15:18
Category: Upload
Type: Bug Report
4
File with apostrophe(') in its filename cannot be uploaded using chunk upload

Bug report

When we have a scenario with the Upload component configured with a chunk upload configuration, we cannot upload a file that contains an apostrophe in its name.

  • The reported issue is not reproducing when the Upload is used inside a form or when it is configured to work in Asynchronous mode.
  • The reported issue is also no reproducing when we try to upload a file that contains the ( ` ) symbol. It is replicated only when the apostrophe is in the filename

Reproduction of the problem

  1. Open this demo
  2. Upload the Dr's notes.pdf file from the below archive
    TestFiles.zip

Current behavior

The selected for upload file is not being uploaded.

** If the above scenario is tested in an MVC project, the error returned from the server is "A potentially dangerous Request.Form value was detected from the client". Below you will find a test project:
ChunkUpload.zip

Expected/desired behavior

The files selected for upload should not have any issues with their uploading, no matter if there is an apostrophe in their name or not.

Environment

  • Kendo UI version: 2020.3.915
  • jQuery version: x.y
  • Browser: [all]
0 comments