summaryrefslogtreecommitdiff
path: root/public/views/shared/disqus.ejs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix to sanitize disqus shortnames to remove slashes [Security Issue]Max Wu2018-12-281-1/+1
| | | Signed-off-by: Max Wu <jackymaxj@gmail.com>
* Fix CSP for disqus and Google AnalyticsSheogorath2018-03-301-3/+2
| | | | | | | | | | | | | This commit should fix existing problems with Disqus and Google Analytics enabled in the meta-yaml section of a note. Before this commit they were blocked by the strict CSP. It's still possible to disable the added directives using `addDisqus` and `addGoogleAnalytics` in the `csp` config section. They are enabled by default to prevent breaking changes. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Refactor templates and rearrange its pathWu Cheng-Han2017-01-211-0/+14