mirror of https://github.com/TriliumNext/Notes
fix(setup): use safer `text` method instead of html to prevent possible XSS
see also https://api.jquery.com/html/ under "Additional Notes": "Do not use these methods to insert strings obtained from untrusted sources such as URL query parameters, cookies, or form inputs. Doing so can introduce cross-site-scripting (XSS) vulnerabilities. Remove or escape any user input before adding content to the document. " fixes #1072pull/1065/head
parent
ed33b72f57
commit
c9c8ee5556
Loading…
Reference in New Issue