Commit 1b2472d
committed
Fix double-bracketing of IPv6 addresses in DoH stamps
When a DoH stamp contains an IPv6 address with brackets in the
ProviderName field (e.g., [2606:4700:4700::1113]), the DialContext
function was adding another layer of brackets, resulting in invalid
addresses like [[2606:4700:4700::1113]]:443.1 parent 0e82c50 commit 1b2472d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments