discourse/lib/middleware
David Taylor 798b4bb604
FIX: Ensure anon-cached values are never returned for API requests (#20021)
Under some situations, we would inadvertently return a public (unauthenticated) result to an authenticated API request. This commit adds the `Api-Key` header to our anonymous cache bypass logic.
2023-01-26 13:26:29 +00:00
..
anonymous_cache.rb FIX: Ensure anon-cached values are never returned for API requests (#20021) 2023-01-26 13:26:29 +00:00
discourse_public_exceptions.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
enforce_hostname.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
missing_avatars.rb DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
omniauth_bypass_middleware.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
request_tracker.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
turbo_dev.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00