Commit bf8ee40
authored
Support for multiple IPs in META field
HTTP_X_FORWARDED_FOR and REMOTE_ADDR can have more than one IP in them (it can be a comma separated list, usually appended by some proxies from the client to the server) - if that is the case, then the saving of the model breaks with;
`DataError: invalid input syntax for type inet: "213.x.x.x, 10.0.0.x"` (IPs redacted) in `views.py` when you save the token.1 parent 296b5ed commit bf8ee40
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments