From 75579ce9c930a199ea7941d0f69052b3bfa3c35d Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Wed, 19 Jul 2017 18:11:27 -0700 Subject: [PATCH] Remove "'" from boundary characters (#106) Fixes https://github.com/dart-lang/http/issues/105 --- CHANGELOG.md | 5 +++++ lib/src/boundary_characters.dart | 2 +- pubspec.yaml | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8545e484a7..755eb861d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/lib/src/boundary_characters.dart b/lib/src/boundary_characters.dart index 03b7ac2d5e..cc5742a30a 100644 --- a/lib/src/boundary_characters.dart +++ b/lib/src/boundary_characters.dart @@ -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 BOUNDARY_CHARACTERS = const [ - 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, diff --git a/pubspec.yaml b/pubspec.yaml index 7bad9f065c..d0d56a4b10 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: http -version: 0.11.3+13 +version: 0.11.3+14 author: "Dart Team " homepage: https://github.com/dart-lang/http description: A composable, Future-based API for making HTTP requests. @@ -12,4 +12,4 @@ dependencies: dev_dependencies: unittest: ">=0.9.0 <0.12.0" environment: - sdk: ">=1.23.0-dev.0.0 <2.0.0" + sdk: ">=1.23.0 <2.0.0"