Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not upload file which name contains double quote #671

Open
mkiosugadaikichi opened this issue May 29, 2020 · 2 comments
Open

Can not upload file which name contains double quote #671

mkiosugadaikichi opened this issue May 29, 2020 · 2 comments

Comments

@mkiosugadaikichi
Copy link

I tried to upload file which name contains double quote
via BoxFilesManager.UploadAsync method.
But I couldn't.

I found
in HttpRequestHandler.BuildMultiPartRequest method
ContentDispositionHeaderValue.FileName property
does not accept file name which contains double quote.

var cdhv = new ContentDispositionHeaderValue("form-data");
cdhv.FileName = "\"file name contains \"(double quote)\""; // throw exception
@PJSimon
Copy link
Member

PJSimon commented Jun 1, 2020

Hi @mkiosugadaikichi ,

Thanks for submitting this Issue! We will take a look and get back to you ASAP!

@PJSimon

@stale
Copy link

stale bot commented Dec 19, 2022

This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.

@stale stale bot added the stale label Dec 19, 2022
@mwwoda mwwoda added dontstale and removed stale labels Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants