Skip to content

Sending a JWT token followed by comma raises IndexError #347

@svidela

Description

@svidela

Hi,

I found that if the user sends the JWT token followed by a comma (,) an IndexError is raised. Is this the expected behaviour? You should be able to reproduce this using the basic example from the docs. It appears that the exception is raised executing s.split()[0] in

jwt_header = [s for s in field_values if s.split()[0] == header_type]

Regards,

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