Steve Dower
e58571b7ea
Fixes tests broken by issue #27781 .
10 years ago
Berker Peksag
208536132b
Fix typo in test name
Noticed by Xiang Zhang.
10 years ago
Martin Panter
e42e129ebe
Issue #25738 : Don’t send message body for 205 Reset Content
Patch by Susumu Koshiba.
10 years ago
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
10 years ago
Martin Panter
d274b3f1f1
Issue #26657 : Fix Windows directory traversal vulnerability with http.server
Based on patch by Philipp Hagemeister. This fixes a regression caused by
revision f4377699fd47.
10 years ago
Martin Panter
da3bb38452
Issue #26585 : Eliminate _quote_html() and use html.escape(quote=False)
Patch by Xiang Zhang.
10 years ago
Martin Panter
fc475a9fa6
Issue #26609 : Fix HTTP server tests to request an absolute URL path
10 years ago
Martin Panter
50badad807
Issue #26586 : Simple enhancements to BaseHTTPRequestHandler by Xiang Zhang
10 years ago
Martin Panter
acc03195b0
Issue #26586 : Handle excessive header fields in http.server, by Xiang Zhang
10 years ago
Berker Peksag
04bc5b9e48
Issue #747320 : Use email.utils.formatdate() to avoid code duplication
in BaseHTTPRequestHandler
Initial patch by karlcow.
10 years ago
Martin Panter
eb1fee9353
Issues #25232 , #24657 : Use new enum status to match rest of tests
10 years ago
Martin Panter
cb29e8c0e5
Issue #24657 : Prevent CGIRequestHandler from collapsing the URL query
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
10 years ago
Martin Panter
a02e18a43f
Issue #25232 : Fix CGIRequestHandler's splitting of URL query
Patch from Xiang Zhang.
10 years ago
Berker Peksag
b5754321d0
Issue #23440 : Improve http.server.SimpleHTTPRequestHandler tests
* Tests that index.html is served, rather than an automatic directory listing
* Tests that there is no extra data sent after the response
Patch by Martin Panter.
11 years ago
Serhiy Storchaka
c0a23e6320
Issue #21793 : BaseHTTPRequestHandler again logs response code as numeric,
not as stringified enum. Patch by Demian Brecht.
11 years ago
Benjamin Peterson
70e2847347
document the requestline and close_connection attributes, use real booleans, and add tests ( closes #23410 )
Patch by Martin Panter.
11 years ago
Berker Peksag
366c570d1f
Issue #23418 : Add missing entries to http.server.__all__.
Patch by Martin Panter.
11 years ago
Ned Deily
1418320850
Issue #22165 : Skip test_undecodable_filename on OS X prior to 10.5.
10.4 systems do not allow creation of files with such filenames.
11 years ago
Benjamin Peterson
94cb7a2429
fix behavior of trailing slash redirection when a query string is involved ( closes #23112 )
11 years ago
Terry Jan Reedy
dd09efdd53
Issue #20155 : Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,
revised by R. David Murray.
11 years ago
Serhiy Storchaka
d9e9528818
Issue #22165 : Fixed test_undecodable_filename on Mac OS.
12 years ago
Serhiy Storchaka
a64ce5d744
Issue #22165 : Fixed test_undecodable_filename on non-UTF-8 locales.
12 years ago
Serhiy Storchaka
cb5bc408ad
Issue #22165 : SimpleHTTPRequestHandler now supports undecodable file names.
12 years ago
Ned Deily
915a30fb0d
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
broken by the fix for security issue #19435 . Patch by Zach Byrne.
12 years ago
R David Murray
14199f9392
#20155 : use fake HTTP method names so windows doesn't hang the tests.
Windows was seeing the 'GET' generated by these tests as invalid and forcibly
closing the socket, causing the test to fail.
Patch by Jeff Allen.
12 years ago
Benjamin Peterson
314dc126ce
expect the correct platform-dependent linesep
12 years ago
Benjamin Peterson
73b8b1cdb8
url unquote the path before checking if it refers to a CGI script ( closes #21766 )
12 years ago
Serhiy Storchaka
25d8aeac7c
Issue #20555 : Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
12 years ago
Benjamin Peterson
044242360d
fix handling of 100-continue status code ( closes #18574 )
12 years ago
Benjamin Peterson
04e9de40f3
use the collapsed path in the run_cgi method ( closes #19435 )
12 years ago
Georg Brandl
b3acaccf27
Transplant of rev 544b654d000c: directory traversal attack in CGIHttpRequestHandler.
12 years ago
Senthil Kumaran
72c238e21a
Fix http.server's request handling case on trailing '/'.
Patch contributed by Vajrasky Kok. Addresses Issue #17324
13 years ago
Senthil Kumaran
2688644eef
#1291 http.server's send_error takes an optional explain argument
13 years ago
Serhiy Storchaka
0b4591e0eb
Do not raise self.skipTest().
skipTest() already raises an exception.
13 years ago
Senthil Kumaran
24dfdb69ca
code smell. remove pdb
13 years ago
Senthil Kumaran
52d2720499
Issue #16088 : BaseHTTPRequestHandler's send_error method includes a
Content-Length header. Patch by Antoine Pitrou.
13 years ago
Antoine Pitrou
f727082b71
Speed up test_httpservers by avoiding a one-second cleanup wait after each test case.
14 years ago
Antoine Pitrou
e768c39890
Fix CGI tests to take into account the platform's line ending (issue #13119 )
14 years ago
Senthil Kumaran
d70846b1b1
3.2 - Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests
14 years ago
Senthil Kumaran
5f7e7345cf
Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests
14 years ago
Senthil Kumaran
dbb369d0ef
3.2- fix the incorrect changes made for PATH_INFO value - Issue10484
14 years ago
Senthil Kumaran
fb2e874707
fix the incorrect changes made for PATH_INFO value - Issue10484
14 years ago
Senthil Kumaran
be3f851411
closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem
14 years ago
Senthil Kumaran
51a65c9161
2.7 - Issue #10484 : Fix the CGIHTTPServer's PATH_INFO handling problem
14 years ago
Charles-François Natali
f7ed9fc063
Issue #13308 : Fix test_httpservers failures when run as root.
14 years ago
Charles-François Natali
09f871462f
Issue #13308 : Fix test_httpservers failures when run as root.
14 years ago
Senthil Kumaran
c7ae19b6a7
Issue #3709 : a flush_headers method to BaseHTTPRequestHandler which manages the
sending of headers to output stream and flushing the internal headers buffer.
Patch contribution by Andrew Schaaf
15 years ago
Antoine Pitrou
cb342182ee
Try to strengthen test_httpservers (issue #11617 )
15 years ago
Ezio Melotti
c2077b0d9b
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
15 years ago
Ezio Melotti
13925008dc
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
15 years ago