Commit 3437311
committed
fix: add validation for empty AllowPorts in local port filtering
- Added a check to validate if `AllowPorts` is null or empty in the local port filtering logic. If invalid, the request handling now invokes `HostValidationFailed`.1 parent 2cb1bf7 commit 3437311
2 files changed
Lines changed: 3 additions & 0 deletions
File tree
- src/LocalPortFiltering.AspNetCore
- test/LocalPortFiltering.AspNetCore.Tests
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments