summaryrefslogtreecommitdiff
path: root/django/utils/encoding.py
AgeCommit message (Expand)Author
2023-09-04[4.2.x] Fixed CVE-2023-41164 -- Fixed potential DoS in django.utils.encoding....Mariusz Felisiak
2022-11-10Updated documentation and comments for RFC updates.Nick Pope
2022-03-08Refs #33173 -- Used locale.getlocale() instead of getdefaultlocale().Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-05-29Fixed typos in comments and docs.David Sanders
2021-01-14Refs #27753 -- Removed django.utils.encoding.force_text() and smart_text() pe...Mariusz Felisiak
2020-04-20Capitalized Unicode in docs, strings, and comments.Jon Dufresne
2019-10-30Refs #28428 -- Made filepath_to_uri() support pathlib.Path.Hasan Ramezani
2019-08-28Refs #27795 -- Removed an unnecessary force_bytes() call in uri_to_iri().Jon Dufresne
2019-08-01Fixed CVE-2019-14235 -- Fixed potential memory exhaustion in django.utils.enc...Florian Apolloner
2019-07-03Refs #30608 -- Added django.utils.encoding.punycode().Mariusz Felisiak
2019-02-06Refs #27753 -- Deprecated django.utils.encoding.force_text() and smart_text().Tim Graham
2019-02-06Refs #27753 -- Favored force/smart_str() over force/smart_text().Aymeric Augustin
2019-02-05Refs #27753 -- Removed django.utils.six.Tim Graham
2018-07-09Simplified force_bytes().Sergey Fedoseev
2017-10-31Refs #23919 -- Updated references to urllib.quote() to Python 3 location.Ville Skyttä
2017-02-11Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.Anton Samarchyan
2017-02-09Fixed #26005 -- Fixed some percent decoding cases in uri_to_iri().Chronial
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-02-03Refs #23919 -- Removed a Python 2 code path in force_text().Tim Graham
2017-02-03Removed an untested and broken branch in force_bytes() (refs #6353).Tim Graham
2017-02-03Used super() in DjangoUnicodeDecodeError.Tim Graham
2017-01-31Refs #23919 -- Removed unneeded code in force_text().Vytis Banaitis
2017-01-30Refs #23919 -- Removed usage of obsolete SafeBytes classClaude Paroz
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
2017-01-23Assumed iri_to_uri always returns a stringClaude Paroz
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2015-11-03Fixed #25668 -- Misc spelling errorsVille Skyttä
2015-06-05Fixed #24927 -- Used python_2_unicode_compatible from sixMatthew Somerville
2015-05-27Fixed #24836 -- Made force_text() resolve lazy objects.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-08Fixed #23968 -- Replaced list comprehension with generators and dict comprehe...Jon Dufresne
2014-11-03Fixed #18456 -- Added path escaping to HttpRequest.get_full_path().Unai Zalakain
2014-10-16Fixed #19508 -- Implemented uri_to_iri as per RFC.Anubhav Joshi
2014-06-07Optimize is_protected_type slightly (used by force_text, which is used basica...Alex Gaynor
2013-11-02Correct flake8 E302 violationsRay Ashman Jr
2013-11-02More attacking E302 violatorsAlex Gaynor
2013-10-13Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible.Aymeric Augustin
2013-09-22Removed a few trailing backslashes.Aymeric Augustin
2013-09-06Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type.Florian Apolloner
2013-09-06Fixed #21052 -- Small performance optimization.Aymeric Augustin
2013-09-06Fixed #18719 -- Made force_bytes more consistent with force_text.Aymeric Augustin
2013-09-05Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
2013-09-02Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin
2013-06-28Removed django.utils.encoding.StrAndUnicode class, deprecated in Django 1.5.Ramiro Morales