vulnapi icon indicating copy to clipboard operation
vulnapi copied to clipboard

Fix-cache-control

Open Similadayo opened this issue 1 year ago • 4 comments

This pull request fixes a problem with the GetHeaders method in the OAuth and JWT Bearer security schemes. It wasn't handling cases where attack and valid values were nil, which could cause errors. I changed the code to fix this, making sure headers are generated more reliably for requests.

Changes:

  1. Fixed errors with type checks in GetHeaders.

  2. Improved how attack and valid values are handled in headers.

I look forward to your feedback on these updates!

Similadayo avatar Oct 04 '24 07:10 Similadayo