ankitpokhrel / ankitpokhrel/tus-php

Upload fails when file name contains an apostrophe

Open
#397 2 comments 0 reactions 0 assignees View on GitHub
defect
Dominant language
PHP
Stars
1.5k
Forks
220
PR merge metrics
No merged PRs in 30d

Description

Hello,

If a file name contains an apostrophe ex. : "i won't upload.jpg" the upload always fails with a 400 error.

I'm using uppy to upload.

`Failed to upload tes't.png tus: unexpected response while creating upload, originated from request (method: POST, url: /uploads/, response code: 400, response text: , request id: n/a)`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.