Thanks to visit codestin.com
Credit goes to github.com

Skip to content

When redirecting to a different host, strip Authorization header #274

@bitinn

Description

@bitinn

This is a tricky one, on the surface, security first, why would you want to do that?

But:

  • There isn't a Spec / RFC enforcing it.
  • Some single sign-on solutions even rely on it.

Request that do implement such a thing:

So does curl (but only when using a http proxy?)

Either way, I am not rushing to fix this, but a heads-up if anyone is using node-fetch for authorisation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions