Skip to content

ForwardedHeaders middleware logging logs Warning for normal behavior.Β #63801

@rkargMsft

Description

@rkargMsft

Why was this changed from debug? Without MICROSOFT_ASPNETCORE_HTTPOVERRIDES_IGNORE_UNKNOWN_PROXIES_WITHOUT_FOR my logs are getting spammed.

Originally posted by @ilike2burnthing in #62687 (comment)

Having untrusted proxies in the forwarded header chain is a valid scenario. Having Warning logs for this valid use case is noisy and confusing for users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresfeature-forwarded-headersThis issue is related to forwarded headers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions