Commit 4b30647
committed
bug: fix NullPointerException if allowedHeaders contains null
review comment - https://github.com/getsentry/sentry-java/pull/4919/files#r2550496731
seems possible, e.g. if a client passes null in the array to SentryReplayOptions#set[Request|Response]Headers1 parent e6d7289 commit 4b30647
File tree
2 files changed
+26
-1
lines changed- sentry/src
- main/java/io/sentry/util/network
- test/java/io/sentry/util/network
2 files changed
+26
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| |||
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
81 | 104 | | |
0 commit comments