You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
### Summary
When using multiple IPs in FORWARDED_ALLOW_IPS variable,
request.client.host can be something else than an IP address string and
will be wrongly parsed by Redis, implying an error and refusing the
connection.
### Changes Made
- [x] Force input data type to string
### Type of Change
- [x] 🐛 Bug fix (non-breaking change which fixes an issue)
- [ ] ✨ New feature (non-breaking change which adds functionality)
- [ ] 🔨 Refactor (non-breaking change that neither fixes a bug nor adds
a feature)
- [ ] 🔧 Infra CI/CD (changes to configs of workflows)
- [ ] 💥 BREAKING CHANGE (fix or feature that require a new minimal
version of the front-end)
- [ ] 😶🌫️ No impact for the end-users
### Impact & Scope
- [x] Core functionality changes
- [ ] Single module changes
- [ ] Multiple modules changes
- [ ] Database migrations required
- [ ] Other: <!--not module-oriented-->
### Testing
- [ ] 1. Tested this locally
- [ ] 2. Added/modified tests that pass the CI
- [ ] 3. Tested in a pre-prod
- [x] 0. Untestable (exceptionally), will be tested in prod directly
Error condition are uncertain and can't be reproduced
### Documentation
- [ ] Updated [the docs](docs.myecl.fr) accordingly : <!--[Docs#0 -
Title](https://github.com/aeecleclair/myecl-documentation/pull/0)-->
- [ ] `"` Docstrings
- [x] `#` Inline comments
- [ ] No documentation needed
</details>
0 commit comments