Open chrismeyersfsu opened 4 months ago
So with the linked fix, this is expected to issue a log instead of returning a 500 error.
What is the behavior expectation for the request? The return False
means that the header is "not validated". Where is this used from?
So these headers won't get added when the signature isn't valid...
Bug Summary
Steps to recreate
x_trusted_proxy
set to a value that is malformed i.e.foo-bar
Expected
Not to get a 500
Actual
500
More info
https://github.com/ansible/django-ansible-base/blob/01c7f98bc9829a296fe6b1985bb7cf7674e50947/ansible_base/jwt_consumer/common/util.py#L43