Alex Vandiver
|
cbce427c17
Fixed #34194 -- Added django.utils.http.content_disposition_header().
|
2 years ago |
Nick Pope
|
9bd174b9a7
Updated documentation and comments for RFC updates.
|
2 years ago |
Michael Manfre
|
03eec9ff6c
Updated vendored _urlsplit() to strip newline and tabs.
|
2 years ago |
Mehrdad
|
d4d5427571
Refs #33697 -- Used django.utils.http.parse_header_parameters() for parsing boundary streams.
|
2 years ago |
Carlton Gibson
|
34e2148fc7
Refs #33173 -- Removed use of deprecated cgi module.
|
2 years ago |
django-bot
|
9c19aff7c7
Refs #33476 -- Reformatted code with Black.
|
3 years ago |
Ad Timmering
|
bdf3e156b4
Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate.
|
3 years ago |
Nick Pope
|
d06c5b3581
Fixed #32366 -- Updated datetime module usage to recommended approach.
|
3 years ago |
Mariusz Felisiak
|
ec0ff40631
Fixed #32355 -- Dropped support for Python 3.6 and 3.7
|
4 years ago |
Mariusz Felisiak
|
9e456f3166
Refs #30747 -- Removed django.utils.http.is_safe_url() per deprecation timeline.
|
4 years ago |
Mariusz Felisiak
|
88ed1c8d08
Refs #27753 -- Removed django.utils.http urllib aliases per deprecation timeline.
|
4 years ago |
Nick Pope
|
fd209f62f1
Refs #21231 -- Backport urllib.parse.parse_qsl() from Python 3.8.
|
5 years ago |
Hasan Ramezani
|
f121621073
Fixed #31521 -- Skipped test_parsing_rfc850 test on 32-bit systems.
|
4 years ago |
Ad Timmering
|
7b5f8acb9e
Fixed #28690 -- Fixed handling of two-digit years in parse_http_date().
|
5 years ago |
Ad Timmering
|
7cbd25a06e
Refs #28690 -- Added more tests for parse_http_date().
|
5 years ago |
Carlton Gibson
|
4f61810751
Fixed #30747 -- Renamed is_safe_url() to url_has_allowed_host_and_scheme().
|
5 years ago |
swatantra
|
73ac9e3f04
Fixed #30677 -- Improved error message for urlencode() and Client when None is passed as data.
|
5 years ago |
Jon Dufresne
|
b903bb438f
Refs #30485 -- Removed non-representative test that emitted a warning.
|
5 years ago |
Johan Lübcke
|
0670b1b403
Fixed #30485 -- Adjusted django.utils.http.urlencode for doseq=False case.
|
5 years ago |
Mariusz Felisiak
|
c9888bc8ec
Fixed #30264 -- Fixed crash of test_parsing_year_less_than_70() on 32-bit systems.
|
6 years ago |
Tim Graham
|
83c2bc52c2
Refs #27753 -- Deprecated django.utils.http urllib aliases.
|
6 years ago |
Tim Graham
|
958a7b4ca6
Refs #28965 -- Removed utils.http.cookie_date() per deprecation timeline.
|
6 years ago |
Jon Dufresne
|
6fe9c45b72
Fixed #30024 -- Made urlencode() and Client raise TypeError when None is passed as data.
|
6 years ago |
Hasan Ramezani
|
6b7f1c2530
Increased test coverage of django.utils.http.
|
6 years ago |
Andreas Hug
|
a656a68127
Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware.
|
6 years ago |
Przemysław Suliga
|
d22b90b4ea
Fixed #29525 -- Allowed is_safe_url()'s allowed_hosts arg to be a string.
|
6 years ago |
Jon Dufresne
|
1e81a4b897
Fixed #28638 -- Made allowed_hosts a required argument of is_safe_url().
|
7 years ago |
Tim Graham
|
ab7f4c3306
Refs #28965 -- Deprecated unused django.utils.http.cookie_date().
|
7 years ago |
François Freitag
|
41be85862d
Fixed #28679 -- Fixed urlencode()'s handling of bytes.
|
7 years ago |
François Freitag
|
0e212a705e
Split django.utils.http tests into separate test classes.
|
7 years ago |