mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 04:48:33 +08:00
## Summary Prevent anonymous cache poisoning on embed routes by incorporating a SHA-256 digest of the Referer header into the cache key for `/embed/` requests. This ensures cached responses, which reflect the request origin in the response body, are correctly partitioned by source domain. ## Source - Patch Triage: https://patch.discourse.org/patch-triage/1187 Co-authored-by: discourse-patch-triage <272280883+discourse-patch-triage[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| anonymous_cache.rb | ||
| crawler_hooks.rb | ||
| csp_script_nonce_injector.rb | ||
| default_headers.rb | ||
| discourse_public_exceptions.rb | ||
| enforce_hostname.rb | ||
| missing_avatars.rb | ||
| omniauth_bypass_middleware.rb | ||
| overload_protections.rb | ||
| processing_request.rb | ||
| request_tracker.rb | ||
| track_view_session_id_injector.rb | ||