Skip to content

[bug] Incorrect Base64 encoding used for Basic Auth header #100

@ximocok628

Description

@ximocok628

userPassword, _ := base64.URLEncoding.DecodeString(authorization[6:])

The current implementation of Basic Authentication incorrectly uses base64.URLEncoding to decode the Proxy-Authorization header. According to RFC 7617, the credentials (user-id:password) must be encoded using the standard Base64 alphabet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions