Skip to content

Commit 8ffadc0

Browse files
committed
fix(fileutils): resolve UTF-8 encoding incompatibility in multipart form data
Fixes: Encoding::CompatibilityError when sending multipart requests with UTF-8 content Closes: #528
1 parent c35e81e commit 8ffadc0

File tree

6 files changed

+563
-87
lines changed

6 files changed

+563
-87
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
**/*/.env
33
# Example test files
44
examples/messages/large_test_file.txt
5+
examples/messages/small_pdf_test_file.pdf
6+
examples/messages/large_pdf_test_file.pdf
7+
examples/messages/large_jpg_test_file.jpg
58
*.gem
69
*.rbc
710
.bundle

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
### [Unreleased]
44
* Added support for `single_level` query parameter in Folders API for Microsoft accounts
55
* Added support for `include_hidden_folders` query parameter in folders list endpoint for Microsoft accounts to control whether hidden folders are included in the response
6+
* Fix multipart form data encoding compatibility issue with UTF-8 characters in multipart attachment payloads.
67

78
### 6.5.0 / 2025-06-13
89
* Replaced `rest-client` dependency with `httparty` for improved maintainability and security

0 commit comments

Comments
 (0)