Natalia
|
8124c42601
[5.0.x] Fixed CVE-2023-43665 -- Mitigated potential DoS in django.utils.text.Truncator when truncating HTML text.
|
1 рік тому |
konsti
|
48a1929ca0
Removed unnecessary trailing commas in tests.
|
1 рік тому |
Mariusz Felisiak
|
7119f40c98
Refs #33476 -- Refactored code to strictly match 88 characters line length.
|
3 роки тому |
django-bot
|
9c19aff7c7
Refs #33476 -- Reformatted code with Black.
|
3 роки тому |
Florian Apolloner
|
e1d673c373
Fixed unescape_string_literal() crash on empty strings.
|
3 роки тому |
Florian Apolloner
|
5d9c512e5b
Added test for ValueErrors in unescape_string_literal().
|
3 роки тому |
Florian Apolloner
|
0b79eb3691
Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads.
|
4 роки тому |
Mariusz Felisiak
|
157ab32f34
Refs #27753 -- Removed django.utils.text.unescape_entities() per deprecation timeline.
|
4 роки тому |
Jon Dufresne
|
f47d5aac62
Refs #27804 -- Used subTest() in tests.utils_tests.test_text.
|
4 роки тому |
David Smith
|
0382ecfe02
Fixed #28694 -- Made django.utils.text.slugify() strip dashes and underscores.
|
4 роки тому |
David Smith
|
dde05e192c
Added more tests for slugify().
|
4 роки тому |
Jon Dufresne
|
505fec6bad
Capitalized Unicode in docs, strings, and comments.
|
5 роки тому |
Sjbrgsn
|
b2bd08bb7a
Fixed #30892 -- Fixed slugify() and admin's URLify.js for "İ".
|
5 роки тому |
Nick Pope
|
7552de7866
Used more specific unittest assertions in tests.
|
5 роки тому |
Florian Apolloner
|
7f65974f82
Fixed CVE-2019-14232 -- Adjusted regex to avoid backtracking issues when truncating HTML.
|
5 роки тому |
Jon Dufresne
|
42b9a23267
Fixed #30400 -- Improved typography of user facing strings.
|
5 роки тому |
Jon Dufresne
|
b915b9f10f
Refs #27753 -- Deprecated django.utils.text.unescape_entities().
|
6 роки тому |
Hasan Ramezani
|
7e978fdc42
Completed test coverage for utils.text._replace_entity().
|
6 роки тому |
Hasan Ramezani
|
838e432e3e
Completed test coverage for utils.text.Truncator.chars().
|
6 роки тому |
Claude Paroz
|
201017df30
Fixed #29654 -- Made text truncation an ellipsis character instead of three dots.
|
6 роки тому |
Claude Paroz
|
b004bd62e8
Fixed #29412 -- Stopped marking slugify() result as HTML safe.
|
6 роки тому |
Tim Graham
|
97b7dd59bb
Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in django.utils.text.Truncator.
|
7 роки тому |
Claude Paroz
|
389c3ffc04
Updated tests after French translation update
|
8 роки тому |
Claude Paroz
|
8346680e1c
Refs #27795 -- Removed unneeded force_text calls
|
8 роки тому |
Tim Graham
|
500532c95d
Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().
|
8 роки тому |
Claude Paroz
|
c651331b34
Converted usage of ugettext* functions to their gettext* aliases
|
8 роки тому |
Claude Paroz
|
7b2f2e74ad
Refs #23919 -- Removed six.<various>_types usage
|
8 роки тому |
Claude Paroz
|
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
|
8 роки тому |
za
|
321e94fa41
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
8 роки тому |
Mattias Loverot
|
9aaeec337e
Fixed #26866 -- Added format_lazy function
|
8 роки тому |