Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate assigning single trusted_proxies value #40789

Merged
merged 1 commit into from
Mar 24, 2021

Commits on Dec 10, 2020

  1. Deprecate assigning single trusted_proxies value

    Fixes rails#40772
    
    The `RemoteIp` middleware currently behaves inconsistently depending on
    whether `config.action_dispatch.trusted_proxies` is configured with a
    single value or an enumerable.
    
    - Deprecate ability to assign a single value to `trusted_proxies` in
      `RemoteIp` middleware
    - Add an explicit test for the setting overriding the default list of
      trusted proxies
    csutter committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    bdd49dc View commit details
    Browse the repository at this point in the history