jenkins_api_client
jenkins_api_client copied to clipboard
Missing crumbRequestField leads to undefined method `downcase'
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 ?