From c07e81d2ab9c3eea95739936707cf4dd2eb3a601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 3 Sep 2025 20:57:55 -0400 Subject: [PATCH 1/2] chore: up dbsearch --- install/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/package.json b/install/package.json index 0fc29e5722..14e65fabd7 100644 --- a/install/package.json +++ b/install/package.json @@ -98,7 +98,7 @@ "nconf": "0.13.0", "nodebb-plugin-2factor": "7.5.10", "nodebb-plugin-composer-default": "10.3.0", - "nodebb-plugin-dbsearch": "6.3.1", + "nodebb-plugin-dbsearch": "6.3.2", "nodebb-plugin-emoji": "6.0.3", "nodebb-plugin-emoji-android": "4.1.1", "nodebb-plugin-markdown": "13.2.1", From 86d9016f02cea7f0ae50a73fb3285133e1130fe6 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 4 Sep 2025 10:29:17 -0400 Subject: [PATCH 2/2] fix: regression that caused Piefed (or potentially others) content to be dropped on receipt --- src/activitypub/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/activitypub/index.js b/src/activitypub/index.js index 4c1f3eee69..11f16322e2 100644 --- a/src/activitypub/index.js +++ b/src/activitypub/index.js @@ -585,6 +585,9 @@ ActivityPub.checkHeader = async (url, timeout) => { .map(p => p.trim()) .reduce((memo, cur) => { cur = cur.split('='); + if (cur.length < 2) { + cur.push(''); + } memo[cur[0]] = cur[1].slice(1, -1); return memo; }, {});