Skip to content
This repository was archived by the owner on Feb 14, 2018. It is now read-only.
This repository was archived by the owner on Feb 14, 2018. It is now read-only.

Basic auth does not handle passwords with colons #3

@lucap

Description

@lucap

Basic auth does not allow for passwords containing one or more colon (:) characters.

For example:


> > > basic_auth, basic_pass = auth_decoded.split(':', 2)
> > > Traceback (most recent call last):
> > >   File "<stdin>", line 1, in <module>
> > > ValueError: too many values to unpack
> > > 
> > > ```
> > > ```

Proposed fix:
```basic_auth, basic_pass = auth_decoded.split(':', 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions