[core] Remove `Cookie` header on redirect to prevent leaks
authordirkf <fieldhouse@gmx.net>
Wed, 7 Jun 2023 18:38:54 +0000 (19:38 +0100)
committerdirkf <fieldhouse@gmx.net>
Tue, 18 Jul 2023 09:50:46 +0000 (10:50 +0100)
commitb383be98874d4dded67ee8a679fae30340722709
treee9da83eb42785c0fd1e0927bac3f3e85b58d2894
parent46fde7caeeab13a6277aab22a0e8a29e10c30cc3
[core] Remove `Cookie` header on redirect to prevent leaks

Adated from yt-dlp/yt-dlp-ghsa-v8mc-9377-rwjj/pull/1/commits/101caac
Thx coletdjnz
test/test_http.py
youtube_dl/utils.py