Commit fffe951
committed
fix: trim whitespace in origin allowlist entries
DOWS_ALLOWED_ORIGINS now trims each comma-separated entry (and the
Origin header value) before matching, matching DOWS_ALLOWED_UPSTREAMS.1 parent 83be85c commit fffe951
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
| |||
0 commit comments