Please sign in to comment.
[JENKINS-50590] do not remove all request parameters when adding a crumb
If you had a WebRequest with existing Parameters specified then adding a crumb would remove all of those headers. THis is somewhat suprising. I thought about making getCrumbHeaderNVP() public but went with the option that should anyway cause the least suprise. The crumb is now added to the list of parameters rather than replacing them. It is added first such that if there where existing crumb fields the newly added one should be first.
- Loading branch information
Showing with 7 additions and 2 deletions.