Skip to content

Missing crumbRequestField leads to undefined method `downcase' #274

@grosser

Description

@grosser

idk how this happened but I just saw a weird error were crumbRequestField was not set, so request[@crumb["crumbRequestField"]] = @crumb["crumb"] does request[nil] = foo and that blows up in /net/http/generic_request.rb:71 in []=

is it supposed to be @crumb.fetch("crumbRequestField") -> fail if it is not set or
request[@crumb["crumbRequestField"]] = @crumb["crumb"] if @crumb["crumbRequestField"] -> ignore if it is not set ?

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