community: validate the url in the dialog

This commit is contained in:
Girish Ramakrishnan
2026-02-05 21:51:55 +01:00
parent 13b524e8a5
commit aa362477e8
5 changed files with 67 additions and 78 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ async function appUpdated(eventId, app, fromManifest, toManifest) {
assert.strictEqual(typeof fromManifest, 'object');
assert.strictEqual(typeof toManifest, 'object');
if (!app.appStoreId) return; // skip notification of dev apps
if (!app.appStoreId && !app.versionsUrl) return; // skip notification of dev apps
const tmp = toManifest.description.match(/<upstream>(.*)<\/upstream>/i);
const upstreamVersion = (tmp && tmp[1]) ? tmp[1] : '';