We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b77bb commit 0478c46Copy full SHA for 0478c46
1 file changed
Lib/test/test_zipfile.py
@@ -3661,6 +3661,8 @@ def test_malformed_paths(self):
3661
"""
3662
data = io.BytesIO()
3663
zf = zipfile.ZipFile(data, "w")
3664
+ zf.writestr("/one-slash.txt", b"content")
3665
+ zf.writestr("//two-slash.txt", b"content")
3666
zf.writestr("../parent.txt", b"content")
3667
zf.filename = ''
3668
root = zipfile.Path(zf)
0 commit comments