mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
CSP nonce placeholders are replaced after rendering by scanning and copying the complete response body, even when the response could not enter the anonymous cache. Generate the final nonce before rendering non-cacheable requests so templates can emit it directly. Requests eligible for anonymous caching continue to use placeholders, preserving a unique nonce each time cached HTML is served. On a site with 11K categories for a logged in user, ~400ms was spent executing `gsub` on the response body. |
||
|---|---|---|
| .. | ||
| assets/javascripts | ||
| config | ||
| lib/discourse_lti | ||
| public/javascripts | ||
| spec | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
Learning Management System Integration Plugin
A plugin which allows Discourse to act as an Learning Tools Interoperability (1.3) Tool
For more information, please see: https://meta.discourse.org/t/learning-management-system-integration-lti-1-3-authentication/196174