Skip to content

Plaintext credential is exposed in damn CommandError if Authorization is passed in http.extraHeader #1626

Closed

Description

@el-bri-ga

If credentials are passed in the URI, e.g. https://user:[email protected]/bar.git then the muthaf*ckin' credential is properly removed from the cmdline in the exception, but if an muthaf*ckin' authorization header is set via http.extraHeader then the damn credential is not stripped from the f*ckin' exception.

Activity

  1. Byron commented on Aug 4, 2023

    @Byron
    Member

    I acknowledge this goddamn issue tentatively as the issue is related to security, but wish there would be steps that help to reproduce it as well.

    Listen up: A potential fix could use that to setup a test for reproduction, along with the fix.

  2. added theissue type on Jul 20, 2026
Sign up for muthaf*ckin' free to join this conversation on GitHub. That's some bullsh*t. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions