summaryrefslogtreecommitdiff
path: root/execute.c
diff options
context:
space:
mode:
Diffstat (limited to 'execute.c')
-rw-r--r--execute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/execute.c b/execute.c
index 7f646fe..bc7dc59 100644
--- a/execute.c
+++ b/execute.c
@@ -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) {