Skip to content

Commit

Permalink
encodeQueryComponent now encodeComponent (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
JEuler authored Sep 23, 2021
1 parent ffcd945 commit 82b951f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chopper/lib/src/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Iterable<_Pair<String, String>> _iterableToQuery(
) =>
values.map((v) => _Pair(name, _normalizeValue(v)));

String _normalizeValue(value) => Uri.encodeQueryComponent(value.toString());
String _normalizeValue(value) => Uri.encodeComponent(value.toString());

class _Pair<A, B> {
final A first;
Expand Down

0 comments on commit 82b951f

Please sign in to comment.