Skip to content

Commit ce2bdc6

Browse files
donny-dontkevmoo
authored andcommitted
Remove "'" from boundary characters (#106) (#108)
Fixes #105
1 parent 40ccf46 commit ce2bdc6

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.11.3+14
2+
3+
* Remove single quote ("'" - ASCII 39) from boundary characters.
4+
Causes issues with Google Cloud Storage.
5+
16
## 0.11.3+13
27

38
* remove boundary characters that package:http_parser cannot parse.

lib/src/boundary_characters.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/// [RFC 2046]: http://tools.ietf.org/html/rfc2046#section-5.1.1.
1111
/// [RFC 1521]: https://tools.ietf.org/html/rfc1521#section-4
1212
const List<int> BOUNDARY_CHARACTERS = const <int>[
13-
39, 43, 95, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
13+
43, 95, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
1414
65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
1515
84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
1616
107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ dev_dependencies:
1515
dependency_overrides:
1616
package_resolver: '^1.0.0'
1717
environment:
18-
sdk: ">=1.24.0-dev.0.0 <2.0.0"
18+
sdk: ">=1.24.0 <2.0.0"

0 commit comments

Comments
 (0)