Commit b4d0e6e
committed
fix(appsec): include filenames callback in Netty multipart early-return gate
requestFilesFilenames() was consulted after data collection, so when it was
the only registered AppSec callback (no requestBodyProcessed, no
requestFilesContent) the early-return gate fired and filenames were never
published to the WAF. Fetch all three callbacks upfront and gate on all three.1 parent 2bf3304 commit b4d0e6e
1 file changed
Lines changed: 4 additions & 3 deletions
File tree
- dd-java-agent/instrumentation/netty/netty-4.1/src/main/java/datadog/trace/instrumentation/netty41
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
114 | | - | |
| 117 | + | |
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
| |||
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
166 | | - | |
167 | | - | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
0 commit comments