wchen-r7
47d52a250e
Fix #6806 and #6820 - Fix send_request_cgi! redirection
...
This patch fixes two problems:
1. 6820 - If the HTTP server returns a relative path
(example: /test), there is no host to extract, therefore the HOST
header in the HTTP request ends up being empty. When the web
server sees this, it might return an HTTP 400 Bad Request, and
the redirection fails.
2. 6806 - If the HTTP server returns a relative path that begins
with a dot, send_request_cgi! will literally send that in the
GET request. Since that isn't a valid GET request path format,
the redirection fails.
Fix #6806
Fix #6820
2016-04-25 14:30:46 -05:00
..
2015-07-28 04:13:35 -07:00
2016-04-25 14:30:46 -05:00
2015-12-23 11:44:55 -06:00
2015-10-15 09:40:39 -05:00
2015-02-05 14:00:38 -05:00
2016-04-21 13:06:00 -05:00
2016-03-17 11:16:12 -05:00
2015-04-13 13:21:41 +05:00
2016-01-03 01:07:36 -06:00
2013-09-12 16:58:49 -05:00
2016-04-21 13:06:00 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2016-04-21 00:47:07 -04:00
2015-09-03 14:21:21 -05:00
2013-08-30 16:28:33 -05:00
2013-11-19 13:29:02 -06:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2014-05-21 20:15:32 +01:00
2013-08-30 16:28:33 -05:00
2015-06-18 09:27:01 +01:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2015-12-08 21:40:30 -06:00
2015-06-26 12:01:53 -05:00
2013-08-30 16:28:33 -05:00
2015-04-13 13:21:41 +05:00
2016-02-29 15:04:02 -06:00
2015-04-13 13:21:41 +05:00
2016-03-08 14:02:44 +01:00
2015-04-13 13:21:41 +05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2015-02-22 21:51:33 -06:00
2016-04-21 00:47:07 -04:00
2016-02-02 11:25:39 -06:00
2013-08-30 16:28:33 -05:00
2015-11-20 19:38:33 -06:00
2016-02-29 15:04:02 -06:00
2013-08-30 16:28:33 -05:00
2015-04-13 13:21:41 +05:00
2016-01-07 17:53:49 -06:00
2015-05-11 14:17:51 -05:00
2015-04-13 13:21:41 +05:00
2015-04-13 13:21:41 +05:00
2013-09-17 10:55:02 -05:00
2015-05-22 17:46:56 -05:00
2015-04-13 13:21:41 +05:00
2015-04-13 13:21:41 +05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2016-04-08 21:18:24 -05:00
2015-10-02 15:29:03 -05:00
2013-09-12 16:58:49 -05:00
2013-08-30 16:28:33 -05:00
2013-11-06 01:04:33 -06:00
2013-08-30 16:28:33 -05:00
2014-08-26 17:47:31 -07:00
2016-01-28 12:51:20 -06:00
2014-11-20 14:53:36 -06:00
2013-08-30 16:28:33 -05:00
2016-03-16 14:13:18 -05:00
2016-03-06 22:06:27 -06:00
2016-03-06 22:06:27 -06:00
2013-08-30 16:28:33 -05:00
2015-06-18 09:27:01 +01:00
2015-04-13 13:21:41 +05:00
2013-08-30 16:28:33 -05:00
2016-02-02 10:02:32 -06:00
2015-10-30 11:02:02 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-09-05 14:10:58 -05:00
2013-08-30 16:28:33 -05:00