mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 22:50:31 +08:00
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. |
||
|---|---|---|
| .. | ||
| 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 | ||