Commit 0cd9b06
authored
fix: only set extend notation on non-ascii filename (#558)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced filename handling to include UTF-8 encoding for non-ASCII
filenames in content disposition.
- **Bug Fixes**
- Improved logic for constructing content disposition strings based on
filename character set.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent b98b502 commit 0cd9b06
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
0 commit comments