Commit 1a94ff3
committed
Test X-FORWARDED-FOR input to UserHostAddress
Added Unit Tests for comma separated style addresses when input is from
the X-FORWAREDED-BY HTTP header. Current implementation throws an
FormatException on the IP address when going through a load balancer or
proxy1 parent f3e2a31 commit 1a94ff3
File tree
1 file changed
+4
-0
lines changed- tests/ServiceStack.WebHost.Endpoints.Tests/Support
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| |||
0 commit comments