fix: gopeed scheme safe url params (#932)

This commit is contained in:
Levi authored and GitHub committed 2025-02-13 21:55:37 +08:00
1 parent fba990a056
commit b94b99ae09
1 file changed
+2 -1
@@ -337,8 +337,9 @@ class AppController extends GetxController with WindowListener, TrayListener {
if (uri.path == "/create") {
final params = uri.queryParameters["params"];
if (params?.isNotEmpty == true) {
final safeParams = params!.replaceAll(" ", "+");
final paramsJson =
String.fromCharCodes(base64Decode(base64.normalize(params!)));
String.fromCharCodes(base64Decode(base64.normalize(safeParams)));
Get.rootDelegate.offAndToNamed(Routes.REDIRECT,
arguments: RedirectArgs(Routes.CREATE,
arguments: