WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Allow form-data with filename and filename* #4661

@FuJa0815

Description

@FuJa0815

Bug Description

Currently this request cannot be parsed:

--1df6c75e-c5a7-486c-af47-67b632b19522
Content-Disposition: form-data; name="Abc"; filename="E 1962 029 1342-0003.JPG"; filename*=utf-8''E%201962%20029%201342-0003.JPG

Hello
--1df6c75e-c5a7-486c-af47-67b632b19522--

The error is TypeError: expected CRLF. Reading through the code passing a filename and a filename* is not supported. This is up to spec tho and something the C# implementation generates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions