fluttercommunity / fluttercommunity/flutter_downloader
Content-Disposition with semicolon in filename
- Dominant language
- Kotlin
- Stars
- 940
- Forks
- 561
- Avg merge
- 1h 18m
- Merged PRs (30d)
- 1
Description
Hello, I found the following issues while using the library.
In Android, if the file name doesn't exist, get it from "Content-Disposition"
https://github.com/fluttercommunity/flutter_downloader/blob/26e2ef47d2807d8ca2144b717b7b3e3df94e0640/android/src/main/java/vn/hunghd/flutterdownloader/DownloadWorker.java#L325-L336
There are cases where a semicolon is included in fileName as shown below.
```
Content-Disposition = attachment;filename=1C614625-54FC-49A2-B736-743C4D9F543A-40515-000012C15F2191FC.jpg;
```
I think it's a server issue, but I hope the library can supplement it
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.