Skip to content

Fix 500 with blank token when attempting to update service providers#9102

Merged
mitchellhenke merged 2 commits intomainfrom
mitchellhenke/no-500-on-nil-auth
Aug 30, 2023
Merged

Fix 500 with blank token when attempting to update service providers#9102
mitchellhenke merged 2 commits intomainfrom
mitchellhenke/no-500-on-nil-auth

Conversation

@mitchellhenke
Copy link
Contributor

🛠 Summary of changes

During last week's contingency planning scenario, we noticed some unrelated 500s when comparing a nil value.

This PR skips the comparison if the value is blank. This should be fine since an attempted timing attack with a zero-length attempt should not be terribly informative.

Mitchell Henke added 2 commits August 28, 2023 14:02
changelog: Bug Fixes, Dashboard Integration, Fix 500 with blank token when attempting to update service providers
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/no-500-on-nil-auth branch from 6451f6c to 04f2c3a Compare August 28, 2023 19:02
@mitchellhenke mitchellhenke merged commit cfd4629 into main Aug 30, 2023
@mitchellhenke mitchellhenke deleted the mitchellhenke/no-500-on-nil-auth branch August 30, 2023 14:19
@mdiarra3 mdiarra3 mentioned this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants