fix: allow quoting AP posts, fixes #12545

This commit is contained in:
Opliko
2024-05-09 10:48:42 +02:00
parent f404395962
commit 43dfb60f91

View File

@@ -330,7 +330,7 @@ define('forum/topic/postTools', [
return quote(selectedNode.text);
}
const { content } = await api.get(`/posts/${toPid}/raw`);
const { content } = await api.get(`/posts/${encodeURIComponent(toPid)}/raw`);
quote(content);
});
}