<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/django.git/tests/utils_tests/test_http.py, branch 3.2</title>
<subtitle>github.com: django/django.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/'/>
<entry>
<title>[3.2.x] Fixed CVE-2021-23336 -- Fixed web cache poisoning via django.utils.http.parse_qsl().</title>
<updated>2021-02-19T08:15:09+00:00</updated>
<author>
<name>Nick Pope</name>
<email>nick@nickpope.me.uk</email>
</author>
<published>2021-02-16T10:14:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=be8237c7cce24b06aabde0b97afce98ddabbe3b6'/>
<id>be8237c7cce24b06aabde0b97afce98ddabbe3b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #21231 -- Backport urllib.parse.parse_qsl() from Python 3.8.</title>
<updated>2020-09-03T12:24:42+00:00</updated>
<author>
<name>Nick Pope</name>
<email>nick.pope@flightdataservices.com</email>
</author>
<published>2019-11-04T12:06:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=fd209f62f1d83233cc634443cfac5ee4328d98b8'/>
<id>fd209f62f1d83233cc634443cfac5ee4328d98b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #31521 -- Skipped test_parsing_rfc850 test on 32-bit systems.</title>
<updated>2020-04-30T04:51:47+00:00</updated>
<author>
<name>Hasan Ramezani</name>
<email>hasan.r67@gmail.com</email>
</author>
<published>2020-04-29T21:22:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=f12162107327b88a2f1faaab15d048e2535ec642'/>
<id>f12162107327b88a2f1faaab15d048e2535ec642</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #28690 -- Fixed handling of two-digit years in parse_http_date().</title>
<updated>2019-09-30T12:42:56+00:00</updated>
<author>
<name>Ad Timmering</name>
<email>awtimmering@gmail.com</email>
</author>
<published>2019-09-28T04:15:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=7b5f8acb9e6395a1660dd7bfeb365866ca8ef47c'/>
<id>7b5f8acb9e6395a1660dd7bfeb365866ca8ef47c</id>
<content type='text'>
Due to RFC7231 ayear that appears to be more than 50 years in the
future are interpreted as representing the past.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to RFC7231 ayear that appears to be more than 50 years in the
future are interpreted as representing the past.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #28690 -- Added more tests for parse_http_date().</title>
<updated>2019-09-30T12:42:51+00:00</updated>
<author>
<name>Ad Timmering</name>
<email>awtimmering@gmail.com</email>
</author>
<published>2019-09-30T12:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=7cbd25a06e820cbd1a0bfbc339fb7d9a737c54fa'/>
<id>7cbd25a06e820cbd1a0bfbc339fb7d9a737c54fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #30747 -- Renamed is_safe_url() to url_has_allowed_host_and_scheme().</title>
<updated>2019-09-02T13:32:23+00:00</updated>
<author>
<name>Carlton Gibson</name>
<email>carlton.gibson@noumenal.es</email>
</author>
<published>2019-08-14T15:39:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=4f61810751751b8c5070ce038ea57e949650e9e3'/>
<id>4f61810751751b8c5070ce038ea57e949650e9e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #30677 -- Improved error message for urlencode() and Client when None is passed as data.</title>
<updated>2019-08-11T18:15:23+00:00</updated>
<author>
<name>swatantra</name>
<email>swatantra.kumar8@gmail.com</email>
</author>
<published>2019-08-09T08:19:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=73ac9e3f04c4a1a6b1add05c207d11c8ff461b7d'/>
<id>73ac9e3f04c4a1a6b1add05c207d11c8ff461b7d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #30485 -- Removed non-representative test that emitted a warning.</title>
<updated>2019-06-19T11:03:52+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2019-06-19T11:03:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=b903bb438f96f76f17459f51d5f33b203fd15846'/>
<id>b903bb438f96f76f17459f51d5f33b203fd15846</id>
<content type='text'>
Previously, when running the Django test suite with warnings enabled,
the following was emitted:

    /usr/lib64/python3.7/urllib/parse.py:915: BytesWarning: str() on a bytearray instance
      v = quote_via(str(v), safe, encoding, errors)

This occurred due to the bytearray() being passed to
urllib.parse.urlencode() which eventually calls str() on it. The test
does not represent desired real world behavior. Rather than test for and
assert strange unspecified behavior that emits a warning, remove it.

This was also discussed in PR #11374.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, when running the Django test suite with warnings enabled,
the following was emitted:

    /usr/lib64/python3.7/urllib/parse.py:915: BytesWarning: str() on a bytearray instance
      v = quote_via(str(v), safe, encoding, errors)

This occurred due to the bytearray() being passed to
urllib.parse.urlencode() which eventually calls str() on it. The test
does not represent desired real world behavior. Rather than test for and
assert strange unspecified behavior that emits a warning, remove it.

This was also discussed in PR #11374.</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #30485 -- Adjusted django.utils.http.urlencode for doseq=False case.</title>
<updated>2019-05-24T15:15:34+00:00</updated>
<author>
<name>Johan Lübcke</name>
<email>johan@lubcke.se</email>
</author>
<published>2019-05-24T15:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=0670b1b403087ec2d311321597b387ad541ea2e0'/>
<id>0670b1b403087ec2d311321597b387ad541ea2e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #30264 -- Fixed crash of test_parsing_year_less_than_70() on 32-bit systems.</title>
<updated>2019-03-20T12:44:30+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2019-03-20T12:44:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=c9888bc8ecb8943ef08090e3325dcbdac825eafc'/>
<id>c9888bc8ecb8943ef08090e3325dcbdac825eafc</id>
<content type='text'>
Thanks Andreas Beckmann and Chris Lamb for the report.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks Andreas Beckmann and Chris Lamb for the report.</pre>
</div>
</content>
</entry>
</feed>
