]> jfr.im git - yt-dlp.git/commit - test/test_networking.py
[networking] Remove dot segments during URL normalization (#7662)
authorcoletdjnz <redacted>
Fri, 28 Jul 2023 22:40:20 +0000 (10:40 +1200)
committerGitHub <redacted>
Fri, 28 Jul 2023 22:40:20 +0000 (22:40 +0000)
commit4bf912282a34b58b6b35d8f7e6be535770c89c76
tree829a0271e2e709a8a79f2a9de29f72dea8108d05
parenta15fcd299e767a510debd8dc1646fe863b96ce0e
[networking] Remove dot segments during URL normalization (#7662)

This implements RFC3986 5.2.4 remove_dot_segments during the URL normalization process.

Closes #3355, #6526

Authored by: coletdjnz
test/test_networking.py
test/test_utils.py
yt_dlp/cookies.py
yt_dlp/networking/_urllib.py
yt_dlp/networking/common.py
yt_dlp/utils/_legacy.py
yt_dlp/utils/_utils.py
yt_dlp/utils/networking.py