Skip to content

Redirects should be opt-in to avoid header leakage #3

@aviggiano

Description

@aviggiano

Problem

The redirect support added in PR #1 follows redirects by default. When a redirect points to an untrusted host, curl will resend all headers, which can leak sensitive data such as API keys or bearer tokens. Redirect handling should be opt-in with safe defaults.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions