Commit 6036544
committed
Fix vulnerability per dependabot/35
https://github.com/delphidabbler/delphidabbler.github.io/security/dependabot/35
The methods URI#join, URI#merge, and URI#+ retained userinfo, such as
user:password, even after the host is replaced. When generating a URL to
a malicious host from a URL containing secret userinfo using these
methods, and having someone access that URL, an unintended userinfo leak
could occur.1 parent eb1d64a commit 6036544
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
| |||
0 commit comments