From 9ce74beda51181e4400f658612e96f21d2f1df10 Mon Sep 17 00:00:00 2001 From: iKirby <6316115+iKirby@users.noreply.github.com> Date: Tue, 6 May 2025 16:56:13 +0800 Subject: [PATCH] Add appId empty check --- lib/app_sources/vivoappstore.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app_sources/vivoappstore.dart b/lib/app_sources/vivoappstore.dart index fbd512e..9b55ce2 100644 --- a/lib/app_sources/vivoappstore.dart +++ b/lib/app_sources/vivoappstore.dart @@ -89,7 +89,7 @@ class VivoAppStore extends AppSource { String parseVivoAppId(String url) { var appId = Uri.parse(url.replaceAll('/#', '')).queryParameters['appId']; - if (appId == null) { + if (appId == null || appId.isEmpty) { throw InvalidURLError(name); } return appId;