mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-09-02 08:16:35 +02:00
Merge branch 'master' into develop
This commit is contained in:
@@ -98,7 +98,7 @@
|
|||||||
"nconf": "0.13.0",
|
"nconf": "0.13.0",
|
||||||
"nodebb-plugin-2factor": "7.5.10",
|
"nodebb-plugin-2factor": "7.5.10",
|
||||||
"nodebb-plugin-composer-default": "10.3.0",
|
"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": "6.0.3",
|
||||||
"nodebb-plugin-emoji-android": "4.1.1",
|
"nodebb-plugin-emoji-android": "4.1.1",
|
||||||
"nodebb-plugin-markdown": "13.2.1",
|
"nodebb-plugin-markdown": "13.2.1",
|
||||||
|
|||||||
@@ -585,6 +585,9 @@ ActivityPub.checkHeader = async (url, timeout) => {
|
|||||||
.map(p => p.trim())
|
.map(p => p.trim())
|
||||||
.reduce((memo, cur) => {
|
.reduce((memo, cur) => {
|
||||||
cur = cur.split('=');
|
cur = cur.split('=');
|
||||||
|
if (cur.length < 2) {
|
||||||
|
cur.push('');
|
||||||
|
}
|
||||||
memo[cur[0]] = cur[1].slice(1, -1);
|
memo[cur[0]] = cur[1].slice(1, -1);
|
||||||
return memo;
|
return memo;
|
||||||
}, {});
|
}, {});
|
||||||
|
|||||||
Reference in New Issue
Block a user