diff --git a/lib/utils/app_sign.dart b/lib/utils/app_sign.dart index e644a8c22..9a3162389 100644 --- a/lib/utils/app_sign.dart +++ b/lib/utils/app_sign.dart @@ -35,11 +35,11 @@ abstract final class AppSign { assert(value != null, 'remove null value'); result.write(separator); separator = '&'; - result.write(Uri.encodeQueryComponent(key)); + result.write(Uri.encodeComponent(key)); if (value != null && value.isNotEmpty) { result ..write('=') - ..write(Uri.encodeQueryComponent(value)); + ..write(Uri.encodeComponent(value)); } }