Skip to content

Commit 0345f98

Browse files
committed
Remove "'" from boundary characters
Fixes #105
1 parent 2bb828f commit 0345f98

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: http
2-
version: 0.11.3+13
2+
version: 0.11.3+14
33
author: "Dart Team <[email protected]>"
44
homepage: https://github.com/dart-lang/http
55
description: A composable, Future-based API for making HTTP requests.
@@ -12,4 +12,4 @@ dependencies:
1212
dev_dependencies:
1313
unittest: ">=0.9.0 <0.12.0"
1414
environment:
15-
sdk: ">=1.23.0-dev.0.0 <2.0.0"
15+
sdk: ">=1.23.0 <2.0.0"

0 commit comments

Comments
 (0)