Node.js based forum software built for the modern web
fix: #12887, strip target attribute from remote posts' html
Julian Lam3eb0a0ed57bc
diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.jsindex e1e2e0f581..686196aef2 100644--- a/src/activitypub/mocks.js+++ b/src/activitypub/mocks.js@@ -29,6 +29,9 @@ const sanitizeConfig = {allowedClasses: {'*': [],},+ allowedAttributes: {+ a: ['href', 'rel'],+ },};Mocks.profile = async (actors, hostMap) => {