Skip to content

Commit

Permalink
Fixes #416
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed Oct 25, 2022
1 parent 3725a10 commit 01ecdb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions poem/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Make `WebSocketUpgraded<T>` and `BoxWebSocketUpgraded` public [#415](https://github.com/poem-web/poem/issues/415)
# [1.3.48] 2022-10-20
- Fixes [#416](https://github.com/poem-web/poem/issues/416)

- Re-enable the `brotli` compression algorithm.
- Add `Compress::with_quality` and `Compression::with_quality` methods.
Expand Down
2 changes: 1 addition & 1 deletion poem/src/test/form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ fn legal_str(s: impl AsRef<str>) -> String {
s.as_ref()
.replace('\\', "\\\\")
.replace('\"', "\\\"")
.replace('r', "\\\r")
.replace('\r', "\\\r")
.replace('\n', "\\\n")
}

Expand Down

0 comments on commit 01ecdb6

Please sign in to comment.