Skip to content

Commit

Permalink
Remove "'" from boundary characters (#106) (#108)
Browse files Browse the repository at this point in the history
Fixes #105
  • Loading branch information
donny-dont authored and kevmoo committed Jul 29, 2017
1 parent 40ccf46 commit ce2bdc6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.11.3+14

* Remove single quote ("'" - ASCII 39) from boundary characters.
Causes issues with Google Cloud Storage.

## 0.11.3+13

* remove boundary characters that package:http_parser cannot parse.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/boundary_characters.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// [RFC 2046]: http://tools.ietf.org/html/rfc2046#section-5.1.1.
/// [RFC 1521]: https://tools.ietf.org/html/rfc1521#section-4
const List<int> BOUNDARY_CHARACTERS = const <int>[
39, 43, 95, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
43, 95, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dev_dependencies:
dependency_overrides:
package_resolver: '^1.0.0'
environment:
sdk: ">=1.24.0-dev.0.0 <2.0.0"
sdk: ">=1.24.0 <2.0.0"

0 comments on commit ce2bdc6

Please sign in to comment.