fix: check authdict before accessing any attribute#16153
Conversation
|
Signed-off-by: Prajjawal Agarwal prajjawalagarwal@gmail.com |
clokep
left a comment
There was a problem hiding this comment.
This is very similar to #15944 and I don't think correct. If this is not a dict it should likely error not just silently ignore the invalid data.
We also want to do the checking up front on the REST endpoints so that at this point we know we have good data.
|
Oh I looked into the PR mentioned above. I did not know there was a PR open for this, I came here from an issue which was open: #15871 I will close this PR, and let all conversations be in the PR which you mentioned. Thanks for checking this! |
The person who put up #15944 has stopped responding FWIW, so it is likely fine for you to take a crack at it. |
|
I will look at it thanks! |
Fixes: #15871
EventStoretoEventWorkerStore.".code blocks.(run the linters)