Completed
Last Updated: 14 May 2026 06:22 by ADMIN
Indra
Created on: 15 Oct 2020 15:18
Category: Upload
Type: Bug Report
5
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]
2 comments
ADMIN
Anton Mironov
Posted on: 14 May 2026 06:22

Hi Anton

The issue with uploading files containing an apostrophe (') in the filename using chunk upload is still present in version 2025.4.1321. As you observed, this bug occurs only in chunk upload mode and not in asynchronous mode or when used inside a form. The error in MVC projects ("A potentially dangerous Request.Form value was detected from the client") is due to how the server interprets the apostrophe in form data.

Currently, the most effective workaround is to use the Upload component in asynchronous mode, where this problem does not occur. Alternatively, you can sanitize filenames on the client side before uploading by removing or replacing apostrophes, which can help avoid the issue until it is resolved.

 

    Kind Regards,
    Anton Mironov
    Progress Telerik

    Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

    Anton
    Posted on: 07 May 2026 09:13

    Still not working in Kendo UI version 2025.4.1321

    jQuery version 3.7.1