mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 13:22:19 -06:00
[14.0][FIX] document_page: Stored XSS
unitary tests added post-migration script added
This commit is contained in:
@@ -16,7 +16,7 @@ class DocumentPageHistory(models.Model):
|
||||
page_id = fields.Many2one("document.page", "Page", ondelete="cascade")
|
||||
name = fields.Char(index=True)
|
||||
summary = fields.Char(index=True)
|
||||
content = fields.Text()
|
||||
content = fields.Html()
|
||||
diff = fields.Text(compute="_compute_diff")
|
||||
|
||||
company_id = fields.Many2one(
|
||||
|
||||
Reference in New Issue
Block a user