Commit Graph

3 Commits

Author SHA1 Message Date
Muhammad Iqbal Alaydrus
5db7ea1732 - fixing incorrect IP comparison. unsafeCompare was comparing between converted IP address with IP string.
- `IPInRange` should be both inclusive to accommodate /32 private subnet additions
- added more tests
2022-11-22 17:31:22 +07:00
Gerasimos (Makis) Maropoulos
64f95a59b4
fix ip_test (see prev commit) 2020-09-16 13:21:34 +03:00
Gerasimos (Makis) Maropoulos
6c6de6b85d improve remote addr parsing as requested at: https://github.com/kataras/iris/issues/1453
Former-commit-id: e5fde988eda9bf582b04285a1c77ba123910a699
2020-04-20 10:43:45 +03:00