discourse/spec/components/middleware
Martin Brennan 6eb0d0c38d
SECURITY: Fix is_private_ip for RateLimiter to cover all cases (#12464)
The regular expression to detect private IP addresses did not always detect them successfully.
Changed to use ruby's in-built IPAddr.new(ip_address).private? method instead
which does the same thing but covers all cases.
2021-03-22 13:56:32 +10:00
..
anonymous_cache_spec.rb FIX: Bypass AnonymousCache for /srv/status route. (#11491) 2020-12-16 16:47:46 +11:00
discourse_public_exceptions_spec.rb FIX: do not log if an invalid mime type is passed to app 2019-11-21 15:51:34 +11:00
enforce_hostname_spec.rb FIX: Allow CSP to work correctly for non-default hostnames/schemes (#9180) 2020-03-19 19:54:42 +00:00
request_tracker_spec.rb SECURITY: Fix is_private_ip for RateLimiter to cover all cases (#12464) 2021-03-22 13:56:32 +10:00