fix: #12887, strip target attribute from remote posts' html

This commit is contained in:
Julian Lam
2024-10-31 11:47:00 -04:00
parent a59dae3f0a
commit 3eb0a0ed57

View File

@@ -29,6 +29,9 @@ const sanitizeConfig = {
allowedClasses: {
'*': [],
},
allowedAttributes: {
a: ['href', 'rel'],
},
};
Mocks.profile = async (actors, hostMap) => {