Commit f46a3ab
committed
bug: fix Set-Cookie headers incorrectly concatenated with comma separator
Issue is that commas are valid separators in certain headers (Cookie, Set-Cookie,...).
Switch to semi-colon separated instead -> this only governs the formatted list that appears in the sentry dashboard so is relatively minor.
review comment - #4919 (comment)
./gradlew :sentry-okhttp:test --tests="*SentryOkHttpInterceptorTest.toMap handles duplicate headers correctly*"1 parent 72f9b9e commit f46a3ab
File tree
2 files changed
+5
-5
lines changed- sentry-okhttp/src
- main/java/io/sentry/okhttp
- test/java/io/sentry/okhttp
2 files changed
+5
-5
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
276 | | - | |
| 275 | + | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
713 | | - | |
714 | | - | |
715 | | - | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
0 commit comments