Browse Source

fixes ArgumentError when proxy is used (#20420)

* fixes ArgumentError when proxy is used

* Update app/lib/request.rb

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
closed-social-glitch-2
Bearice Ren 2 years ago
committed by GitHub
parent
commit
28cda42af5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/lib/request.rb

+ 1
- 1
app/lib/request.rb View File

@ -281,7 +281,7 @@ class Request
class ProxySocket < Socket
class << self
def check_private_address(_address)
def check_private_address(_address, _host)
# Accept connections to private addresses as HTTP proxies will usually
# be on local addresses
nil

Loading…
Cancel
Save