diff options
Diffstat (limited to 'execute.c')
| -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) { |
