Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing crumbRequestField leads to undefined method `downcase' #274

Open
grosser opened this issue Feb 15, 2018 · 0 comments
Open

Missing crumbRequestField leads to undefined method `downcase' #274

grosser opened this issue Feb 15, 2018 · 0 comments

Comments

@grosser
Copy link
Collaborator

grosser commented Feb 15, 2018

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant