• Nick Thomas's avatar
    Convert IP spoofing errors into client errors · e88480a7
    Nick Thomas authored
    Currently, IP spoofing attacks result in a 500 response, which counts
    towards our error budget. Since they're caused by the properties of the
    client request, it's appropriate to convert them into 400 errors.
    
    We don't need to be too worried about the format of this response, as
    only malicious users will see it.
    e88480a7
handle_ip_spoof_attack_error.rb 1.13 KB