Carl Meyer
|
d51fb74360
Added a new required ALLOWED_HOSTS setting for HTTP host header validation.
|
před 12 roky |
Anssi Kääriäinen
|
fafee74306
Removed try-except in django.db.close_connection()
|
před 12 roky |
Anssi Kääriäinen
|
a4e97cf315
Fixed #19707 -- Reset transaction state after requests
|
před 12 roky |
Aymeric Augustin
|
4a6490a4a0
Removed HttpRequest.raw_post_data.
|
před 12 roky |
Aymeric Augustin
|
1e4a27d087
Fixed #19468 -- Decoded request.path correctly on Python 3.
|
před 12 roky |
Florian Apolloner
|
27560924ec
Fixed a security issue in get_host.
|
před 12 roky |
Aymeric Augustin
|
095eca8dd8
Fixed #19101 -- Decoding of non-ASCII POST data on Python 3.
|
před 12 roky |
Claude Paroz
|
6de6988f99
Fixed #5076 -- Properly decode POSTs with non-utf-8 payload encoding
|
před 12 roky |
Ian Clelland
|
02dda22832
Don't use : as an invalid cookie character
|
před 12 roky |
Aymeric Augustin
|
d7c6a57d60
Used @override_settings in several tests.
|
před 12 roky |
Claude Paroz
|
cfb3eb2e3d
Used FakePayload in requests tests
|
před 12 roky |
Claude Paroz
|
dfd4a71751
Fixed #5611 -- Restricted accepted content types in parsing POST data
|
před 12 roky |
Preston Holmes
|
4fb510fde4
Added missed poisoned host header tests
|
před 12 roky |
Claude Paroz
|
97fe70d30b
[py3] Used BytesIO to test request streams
|
před 12 roky |
Aymeric Augustin
|
396357741b
[py3] Used compatible imports of StringIO.
|
před 12 roky |
Claude Paroz
|
4a103086d5
Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.
|
před 12 roky |
Claude Paroz
|
38408f8007
Marked bytestrings with b prefix. Refs #18269
|
před 13 roky |
Claude Paroz
|
11a5355517
Inserted more simplefilter calls to be sure warnings are emitted.
|
před 13 roky |
Claude Paroz
|
00c0d3c44e
Made warning assertions work with or without -Wall python switch
|
před 13 roky |
Claude Paroz
|
10cf3c6427
Used catch_warnings instead of save/restore methods. Refs #17049.
|
před 13 roky |
Aymeric Augustin
|
e84f79f051
Fixed #18042 -- Advanced deprecation warnings.
|
před 13 roky |
Claude Paroz
|
a1ffb02107
Fixed #18029 -- Removed mod_python as of deprecation process. Thanks Aymeric Augustin for the review.
|
před 13 roky |
Claude Paroz
|
9383a2761c
Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch.
|
před 13 roky |
Aymeric Augustin
|
c8e2f7591d
Fixed #17931 -- Accepted aware datetimes to set cookies expiry dates. Thanks jaddison for the report.
|
před 13 roky |
Carl Meyer
|
0ce6636102
Fixed #17277 - Wrap IOErrors raised due to client disconnect in a specific IOError subclass so they can be distinguished from more serious errors. Thanks David Lowe.
|
před 13 roky |
Carl Meyer
|
1b312edbeb
Refs #17323 -- Updated a test to use try/finally to avoid state leakage. Thanks dstufft for the patch.
|
před 13 roky |
Adrian Holovaty
|
3f003a3c4b
Fixed #17323 -- Renamed HttpRequest.raw_post_data to request.body. Thanks for the patch, dstufft
|
před 13 roky |
Russell Keith-Magee
|
893cea211a
Added protection against spoofing of X_FORWARDED_HOST headers. A security announcement will be made shortly.
|
před 13 roky |
Jannis Leidel
|
a6cd78662e
Fixed #15785 -- Stopped HttpRequest.read() from reading beyond the end of a wsgi.input stream and removed some redundant code in the multipartparser. Thanks, tomchristie, grahamd and isagalaev.
|
před 13 roky |
Russell Keith-Magee
|
9e952be26f
Fixed #16201 -- Ensure that requests with Content-Length=0 don't break the multipart parser. Thanks to albsen for the report and patch
|
před 14 roky |