<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/utils_tests/test_archive.py, branch 4.2.29</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=4.2.29</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=4.2.29'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-10-01T13:06:00Z</updated>
<entry>
<title>[4.2.x] Fixed CVE-2025-59682 -- Fixed potential partial directory-traversal via archive.extract().</title>
<updated>2025-10-01T13:06:00Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2025-09-16T15:13:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9504bbaa392c9fe37eee9291f5b4c29eb6037619'/>
<id>urn:sha1:9504bbaa392c9fe37eee9291f5b4c29eb6037619</id>
<content type='text'>
Thanks stackered for the report.

Follow up to 05413afa8c18cdb978fcdf470e09f7a12b234a23.

Backport of 924a0c092e65fa2d0953fd1855d2dc8786d94de2 from main.
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #32821 -- Updated os.scandir() uses to use a context manager.</title>
<updated>2021-06-07T04:52:42Z</updated>
<author>
<name>Chris Jerdonek</name>
<email>chris.jerdonek@gmail.com</email>
</author>
<published>2021-06-06T06:56:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=7272e1963ffdf39c1d4fe225d5425a45dd095d11'/>
<id>urn:sha1:7272e1963ffdf39c1d4fe225d5425a45dd095d11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Skipped test_archive tests when bz2/lzma module is not installed.</title>
<updated>2021-02-04T13:08:43Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2021-02-04T13:08:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ae48601e6d88410626c7d28572f969ab57b33598'/>
<id>urn:sha1:ae48601e6d88410626c7d28572f969ab57b33598</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed CVE-2021-3281 -- Fixed potential directory-traversal via archive.extract().</title>
<updated>2021-02-01T08:07:36Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2021-01-22T11:23:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=05413afa8c18cdb978fcdf470e09f7a12b234a23'/>
<id>urn:sha1:05413afa8c18cdb978fcdf470e09f7a12b234a23</id>
<content type='text'>
Thanks Florian Apolloner, Shai Berger, and Simon Charette for reviews.

Thanks Wang Baohua for the report.
</content>
</entry>
<entry>
<title>Fixed #30807 -- Fixed TestArchive.test_extract_file_permissions() when umask is 0o000.</title>
<updated>2020-06-29T05:51:43Z</updated>
<author>
<name>Ad Timmering</name>
<email>8476375+awtimmering@users.noreply.github.com</email>
</author>
<published>2020-06-29T05:51:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ec5aa2161d8015a3fe57dcbbfe14200cd18f0a16'/>
<id>urn:sha1:ec5aa2161d8015a3fe57dcbbfe14200cd18f0a16</id>
<content type='text'>
Fixed test that checks permissions on files extracted from archives
with no permissions set, to not assume a default umask of 0o002.

Test regression in c95d063e776e849cf1a0bf616c654165cb89c706.</content>
</entry>
<entry>
<title>Refs #30160 -- Simplified and improved tests for django.utils.archive.</title>
<updated>2019-07-31T07:46:24Z</updated>
<author>
<name>Nick Pope</name>
<email>nick.pope@flightdataservices.com</email>
</author>
<published>2019-02-15T23:59:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c95d063e776e849cf1a0bf616c654165cb89c706'/>
<id>urn:sha1:c95d063e776e849cf1a0bf616c654165cb89c706</id>
<content type='text'>
The file executable should have 0o775 permission not only u=x.
The file no_permissions should have 0o644 u=r.
</content>
</entry>
<entry>
<title>Removed redundant ArchiveTest.test_extract_method() test.</title>
<updated>2019-07-30T09:33:53Z</updated>
<author>
<name>Nick Pope</name>
<email>nick.pope@flightdataservices.com</email>
</author>
<published>2019-02-15T23:34:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=421c4cd2eea4cf3ee0236e3dd3fc3567c54a380a'/>
<id>urn:sha1:421c4cd2eea4cf3ee0236e3dd3fc3567c54a380a</id>
<content type='text'>
The extract() function has the same code as used in the test method
for Archive.extract().
</content>
</entry>
<entry>
<title>Refs #30160 -- Made destination path a required argument of extract().</title>
<updated>2019-07-30T09:27:56Z</updated>
<author>
<name>Nick Pope</name>
<email>nick.pope@flightdataservices.com</email>
</author>
<published>2019-02-15T23:33:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0509148c2458a990cd0a7fd2d7cfbd45eb43e000'/>
<id>urn:sha1:0509148c2458a990cd0a7fd2d7cfbd45eb43e000</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.</title>
<updated>2017-01-20T13:01:02Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2017-01-20T13:01:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4e729feaa647547f25debb1cb63dec989dc41a20'/>
<id>urn:sha1:4e729feaa647547f25debb1cb63dec989dc41a20</id>
<content type='text'>
These functions do nothing on Python 3.</content>
</entry>
</feed>
