Skip to content

addHeader methot works wrong #611

Description

@KVolodymyrABTO

int index = this.headers.indexOf("As-User");

You can't call indexOf(String) for List of RequestHeader, so this line always will return "-1" an user can add several "As-User" headers that will cause 403 response from server

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions