1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch/middleware
Rafael Mendonça França 3a4275fa31
Allow IPs with port in the HostAuthorization middleware
When a host was an IP with a port, the IPAddr object comparisson was
raising an exception which was making the middleware reject the request.

Now we extract the hostname out of the host when comparing with IPAddr
objects.
2021-12-15 21:41:50 +00:00
..
session Standardize nodoc comments 2021-07-29 21:18:07 +00:00
templates Link to Host Authorization guides on blocked_host page 2021-10-26 16:20:12 -04:00
actionable_exceptions.rb Don't require ActionDispatch::{Request,Response} 2021-07-19 01:30:54 +01:00
callbacks.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
cookies.rb Move the least common check to the end of the conditional 2021-11-26 20:43:40 +00:00
debug_exceptions.rb Merge pull request #42809 from eugeneius/rm_request_response_requires 2021-07-26 02:06:02 +01:00
debug_locks.rb Clarify that ActionDispatch::DebugLocks is accessible via HTTP (#42160) 2021-05-06 10:53:11 -03:00
debug_view.rb Make the arguments of ActionView::Base#initialize required 2020-10-30 00:25:24 +00:00
exception_wrapper.rb Skip logging backtrace when exception is in rescue_responses 2021-06-24 23:04:12 -04:00
executor.rb Rails standardized error reporting interface 2021-11-16 13:34:53 +01:00
flash.rb Standardize nodoc comments 2021-07-29 21:18:07 +00:00
host_authorization.rb Allow IPs with port in the HostAuthorization middleware 2021-12-15 21:41:50 +00:00
public_exceptions.rb Raise more specific exception for invalid mime type from user-agent 2020-10-07 11:49:56 -04:00
reloader.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
remote_ip.rb Deprecate assigning single trusted_proxies value 2020-12-10 19:46:36 +00:00
request_id.rb Always ask for a header argument in ResquestId middleware 2020-10-30 00:41:59 +00:00
server_timing.rb Add Server Timing middleware (#36289) 2021-09-19 21:27:07 -07:00
show_exceptions.rb Fix crash in ActionController::Instrumentation with invalid HTTP formats 2021-08-30 09:55:42 -05:00
ssl.rb No need to freeze constants 2020-12-28 22:21:18 +00:00
stack.rb Restore behavior added in ff66477182 2021-09-15 19:02:04 -04:00
static.rb Remove deprecated URI.parser 2021-11-19 21:43:23 +00:00