مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-17 13:39:46 +00:00
initial commit from appmail
هذا الالتزام موجود في:
9
config/initializers/trusted_proxies.rb
Normal file
9
config/initializers/trusted_proxies.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
module Rack
|
||||
class Request
|
||||
module Helpers
|
||||
def trusted_proxy?(ip)
|
||||
ip =~ /^127\.0\.0\.1$|^localhost$|^unix$$/i
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
المرجع في مشكلة جديدة
حظر مستخدم