discourse/lib/middleware
Krzysztof Kotlarek 6f1e0a8e38
DEV: skip beacon page views from known crawler ASNs (#39437)
Adds `CrawlerDetection.crawler_ip?` method as a second line of defence
on the beacon page-view path. Some crawlers occasionally reach the
beacon endpoint with a User-Agent that slips past
CrawlerDetection.crawler?, inflating browser page-view counters.
2026-04-22 11:34:21 +08:00
..
anonymous_cache.rb DEV: Fix AnonymousCache for pitchfork in dev/test modes (#37852) 2026-02-17 09:12:02 +00:00
crawler_hooks.rb DEV: Check for setting prior to applying transformation on crawler view (#34478) 2025-08-22 14:17:45 +08:00
csp_script_nonce_injector.rb DEV: Memoize CSP nonce placeholder on response (#25724) 2024-02-16 12:15:55 +00:00
default_headers.rb DEV: ensure Rails application default headers are present in responses (#31619) 2025-03-05 13:19:09 +08:00
discourse_public_exceptions.rb SECURITY: Error responses missing Cache-Control header 2025-10-28 14:40:41 +08:00
enforce_hostname.rb DEV: Simplify CORS logic for public asset routes (#33106) 2025-06-09 08:58:27 +01: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 FIX: 'destination_url' cookie handling (#33072) 2025-08-06 10:09:01 +02:00
overload_protections.rb PERF: Reject anonymous requests with 503 upon aggressive queuing (#36519) 2025-12-18 10:23:42 +08:00
processing_request.rb PERF: Reject anonymous requests with 503 upon aggressive queuing (#36519) 2025-12-18 10:23:42 +08:00
request_tracker.rb DEV: skip beacon page views from known crawler ASNs (#39437) 2026-04-22 11:34:21 +08:00