Commit e2d35a2
authored
fix(core): Ensure ip address headers are stripped when lower case (#20484)
This was flagged by a claude security review and makes sense IMHO, we
should make sure to also strip IP headers when they are lower case.
While looking at that I noticed we have no tests at all for this rather
critical thing 😬 so I added some here.1 parent a548013 commit e2d35a2
2 files changed
Lines changed: 613 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
110 | 111 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
0 commit comments