mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-09 01:35:44 +08:00
Replaces the hardcoded `CrawlerDetection::CRAWLER_ASNS` constant with a new hidden `crawler_asns` site setting, so the list can be adjusted at runtime without a deploy while we experiment with ASN-based crawler detection. The default is temporarily scoped down to Baidu (AS55967) so we can observe the impact in isolation before expanding to other providers. |
||
|---|---|---|
| .. | ||
| anonymous_cache_spec.rb | ||
| crawler_hooks_spec.rb | ||
| discourse_public_exceptions_spec.rb | ||
| enforce_hostname_spec.rb | ||
| overload_protections_spec.rb | ||
| processing_request_spec.rb | ||
| request_tracker_spec.rb | ||