| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-11-28 | Refs #34986 -- Fixed some test assertions for PyPy. | Nick Pope | |
| These failures were due to minor inconsistencies or implementation differences between CPython and PyPy. | |||
| 2023-09-04 | Fixed CVE-2023-41164 -- Fixed potential DoS in ↵ | Mariusz Felisiak | |
| django.utils.encoding.uri_to_iri(). Thanks MProgrammer (https://hackerone.com/mprogrammer) for the report. Co-authored-by: nessita <124304+nessita@users.noreply.github.com> | |||
| 2022-03-08 | Refs #33173 -- Used locale.getlocale() instead of getdefaultlocale(). | Mariusz Felisiak | |
| locale.getdefaultlocale() was deprecated in Python 3.11, see https://bugs.python.org/issue46659. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2019-10-30 | Refs #28428 -- Made filepath_to_uri() support pathlib.Path. | Hasan Ramezani | |
| 2019-10-29 | Used more specific unittest assertions in tests. | Nick Pope | |
| * assertIsNone()/assertIsNotNone() instead of comparing to None. * assertLess() for < comparisons. * assertIs() for 'is' expressions. * assertIsInstance() for isinstance() expressions. * rounding of assertAlmostEqual() for round() expressions. * assertIs(..., True/False) instead of comparing to True/False. * assertIs()/assertIsNot() for ==/!= comparisons. * assertNotEqual() for == comparisons. * assertTrue()/assertFalse() instead of comparing to True/False. | |||
| 2019-08-26 | Refs #27804 -- Used subTest() in utils_tests/test_encoding.py. | Jon Dufresne | |
| 2019-08-01 | Fixed CVE-2019-14235 -- Fixed potential memory exhaustion in ↵ | Florian Apolloner | |
| django.utils.encoding.uri_to_iri(). Thanks to Guido Vranken for initial report. | |||
| 2019-02-06 | Refs #27753 -- Favored force/smart_str() over force/smart_text(). | Aymeric Augustin | |
| 2018-07-09 | Fixed some assertTrue() that were intended to be assertEqual(). | Sergey Fedoseev | |
| 2018-07-09 | Made test for memoryview handling in force_bytes() more strict. | Sergey Fedoseev | |
| 2017-02-22 | Completed test coverage for django.utils.encoding. | Tim Graham | |
| 2017-02-09 | Fixed #26005 -- Fixed some percent decoding cases in uri_to_iri(). | Chronial | |
| 2017-02-09 | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | |
| 2017-02-03 | Removed an untested and broken branch in force_bytes() (refs #6353). | Tim Graham | |
| The new test crashed in the removed branch. It's unclear if the branch has value since c6a2bd9b962af1cdf46f964589e6023046cfa8ec didn't include tests. | |||
| 2017-02-03 | Added a test for force_text()'s DjangoUnicodeDecodeError path. | Tim Graham | |
| 2017-01-30 | Refs #23919 -- Removed usage of obsolete SafeBytes class | Claude Paroz | |
| The class will be removed as part of #27753. Thanks Tim Graham for the review. | |||
| 2017-01-26 | Refs #23919 -- Replaced usage of django.utils.http utilities with Python ↵ | Claude Paroz | |
| equivalents Thanks Tim Graham for the review. | |||
| 2017-01-24 | Removed unneeded force_text calls in the test suite | Claude Paroz | |
| 2017-01-20 | Refs #23919 -- Removed unneeded str() calls | Claude Paroz | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-05-27 | Fixed #24836 -- Made force_text() resolve lazy objects. | Tim Graham | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-27 | Cleaned up some forms tests. | Loic Bistuer | |
| Thanks Berker Peksag and Tim Graham for the reviews. Refs #24219. | |||
| 2014-11-03 | Fixed #18456 -- Added path escaping to HttpRequest.get_full_path(). | Unai Zalakain | |
| 2014-10-16 | Fixed #19508 -- Implemented uri_to_iri as per RFC. | Anubhav Joshi | |
| Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz for the review. | |||
| 2014-09-23 | Consolidated some text utils into the utils_tests test package. | Loic Bistuer | |
| 2013-10-13 | Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible. | Aymeric Augustin | |
| Thanks jpic for the report and chmodas for working on a patch. Reverts 2ea80b94. Refs #19362. | |||
| 2013-09-06 | Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type. | Florian Apolloner | |
| 2013-09-06 | Fixed #18719 -- Made force_bytes more consistent with force_text. | Aymeric Augustin | |
| 2013-07-01 | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | |
| Refs #20680. | |||
| 2013-04-12 | Modified utils_tests for unittest2 discovery. | Preston Timmons | |
