diff options
| author | Ben Fuhrmannek | 2015-01-27 18:34:37 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2015-01-27 18:34:37 +0100 |
| commit | 4085730874e1d88bb5b675633a171ae20989e45a (patch) | |
| tree | f4e3b7cd262a89abebf9e4fc006b3036b0c3e3d7 /execute.c | |
| parent | 784331fc2217f9084a57be7cb0e153532453fefd (diff) | |
https for suhosin.filter.action + unittests
Diffstat (limited to '')
| -rw-r--r-- | execute.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -423,7 +423,8 @@ static void suhosin_execute_ex(zend_op_array *op_array, int zo, long dummy TSRML | |||
| 423 | 423 | ||
| 424 | if (*action) { | 424 | if (*action) { |
| 425 | 425 | ||
| 426 | if (strncmp("http://", action, sizeof("http://")-1)==0) { | 426 | if (strncasecmp("http://", action, sizeof("http://")-1)==0 |
| 427 | || strncasecmp("https://", action, sizeof("https://")-1)==0) { | ||
| 427 | sapi_header_line ctr = {0}; | 428 | sapi_header_line ctr = {0}; |
| 428 | 429 | ||
| 429 | if (code == -1) { | 430 | if (code == -1) { |
