68 Commits

Author SHA1 Message Date
Ned Deily
217f4cd7ee Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,
broken by the fix for security issue #19435.  Patch by Zach Byrne.
2014-07-12 22:12:39 -07:00
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.
2014-07-12 22:06:26 -07:00
Benjamin Peterson
0fd3972a3f merge 3.2 2014-06-16 23:16:06 -07:00
Benjamin Peterson
314dc126ce expect the correct platform-dependent linesep 2014-06-16 23:15:50 -07:00
Benjamin Peterson
6cd1954c5c merge 3.2 (#21766) 2014-06-14 18:40:10 -07:00
Benjamin Peterson
73b8b1cdb8 url unquote the path before checking if it refers to a CGI script (closes #21766) 2014-06-14 18:36:29 -07:00
Serhiy Storchaka
25d8aeac7c Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests. 2014-02-08 14:50:08 +02:00
Benjamin Peterson
044242360d fix handling of 100-continue status code (closes #18574) 2014-01-18 21:50:18 -05:00
Benjamin Peterson
35aca89617 merge 3.1 (#19435) 2013-10-30 12:48:59 -04:00
Benjamin Peterson
04e9de40f3 use the collapsed path in the run_cgi method (closes #19435) 2013-10-30 12:43:09 -04:00
Benjamin Peterson
a50f89954d merge 3.2 (#19435) 2013-10-30 12:50:18 -04:00
Senthil Kumaran
72c238e21a Fix http.server's request handling case on trailing '/'.
Patch contributed by Vajrasky Kok. Addresses Issue #17324
2013-09-13 00:21:18 -07:00
Serhiy Storchaka
8b27f23e02 Do not raise self.skipTest().
skipTest() already raises an exception.
2013-02-04 15:45:58 +02:00
Serhiy Storchaka
0b4591e0eb Do not raise self.skipTest().
skipTest() already raises an exception.
2013-02-04 15:45:00 +02:00
Antoine Pitrou
2a180207ba Speed up test_httpservers by avoiding a one-second cleanup wait after each test case. 2012-09-30 01:08:55 +02:00
Antoine Pitrou
f727082b71 Speed up test_httpservers by avoiding a one-second cleanup wait after each test case. 2012-09-30 01:05:30 +02:00
Antoine Pitrou
4adc9a8cc9 Fix CGI tests to take into account the platform's line ending (issue #13119) 2012-08-05 14:53:33 +02:00
Antoine Pitrou
e768c39890 Fix CGI tests to take into account the platform's line ending (issue #13119) 2012-08-05 14:52:45 +02:00
Senthil Kumaran
690598aba2 merge to default - Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests 2012-04-12 02:37:11 +08:00
Senthil Kumaran
d70846b1b1 3.2 - Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests 2012-04-12 02:34:32 +08:00
Senthil Kumaran
d05853da97 merge - fix the incorrect changes made for PATH_INFO value - Issue10484 2012-04-11 03:16:16 +08:00
Senthil Kumaran
dbb369d0ef 3.2- fix the incorrect changes made for PATH_INFO value - Issue10484 2012-04-11 03:15:28 +08:00
Senthil Kumaran
209d70e579 closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem 2012-03-16 01:14:51 -07:00
Senthil Kumaran
be3f851411 closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem 2012-03-16 01:13:50 -07:00
Charles-François Natali
b2cca00c14 Issue #13308: Fix test_httpservers failures when run as root. 2011-11-02 19:36:02 +01:00