diff options
| -rw-r--r-- | tests/misc/mailprotect_1_header_nl.phpt | 2 | ||||
| -rw-r--r-- | tests/misc/mailprotect_1_header_nlnl.phpt | 2 | ||||
| -rw-r--r-- | tests/misc/mailprotect_1_subject.phpt | 2 | ||||
| -rw-r--r-- | tests/misc/mailprotect_1_subject_long.phpt | 2 | ||||
| -rw-r--r-- | tests/misc/mailprotect_1_to.phpt | 2 | ||||
| -rw-r--r-- | tests/misc/mailprotect_1_to_long.phpt | 2 | ||||
| -rw-r--r-- | tests/misc/mailprotect_2_bcc.phpt | 2 | ||||
| -rw-r--r-- | tests/misc/mailprotect_2_cc.phpt | 2 | ||||
| -rw-r--r-- | tests/misc/mailprotect_2_to.phpt | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/tests/misc/mailprotect_1_header_nl.phpt b/tests/misc/mailprotect_1_header_nl.phpt index c8f1bc0..e137d48 100644 --- a/tests/misc/mailprotect_1_header_nl.phpt +++ b/tests/misc/mailprotect_1_header_nl.phpt | |||
| @@ -8,7 +8,7 @@ suhosin.log.stdout=0 | |||
| 8 | suhosin.log.script=0 | 8 | suhosin.log.script=0 |
| 9 | suhosin.log.syslog=0 | 9 | suhosin.log.syslog=0 |
| 10 | suhosin.mail.protect=1 | 10 | suhosin.mail.protect=1 |
| 11 | sendmail_path=/usr/bin/true | 11 | sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true) |
| 12 | --FILE-- | 12 | --FILE-- |
| 13 | <?php | 13 | <?php |
| 14 | var_dump(mail("to", "subject", "msg", "\r\nFoo: bar")); | 14 | var_dump(mail("to", "subject", "msg", "\r\nFoo: bar")); |
diff --git a/tests/misc/mailprotect_1_header_nlnl.phpt b/tests/misc/mailprotect_1_header_nlnl.phpt index cd0083f..94c5937 100644 --- a/tests/misc/mailprotect_1_header_nlnl.phpt +++ b/tests/misc/mailprotect_1_header_nlnl.phpt | |||
| @@ -8,7 +8,7 @@ suhosin.log.stdout=0 | |||
| 8 | suhosin.log.script=0 | 8 | suhosin.log.script=0 |
| 9 | suhosin.log.syslog=0 | 9 | suhosin.log.syslog=0 |
| 10 | suhosin.mail.protect=1 | 10 | suhosin.mail.protect=1 |
| 11 | sendmail_path=/usr/bin/true | 11 | sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true) |
| 12 | --FILE-- | 12 | --FILE-- |
| 13 | <?php | 13 | <?php |
| 14 | var_dump(mail("to", "subject", "msg", "Foo: bar\r\n\r\nfake-msg-start")); | 14 | var_dump(mail("to", "subject", "msg", "Foo: bar\r\n\r\nfake-msg-start")); |
diff --git a/tests/misc/mailprotect_1_subject.phpt b/tests/misc/mailprotect_1_subject.phpt index e43791c..4a1890d 100644 --- a/tests/misc/mailprotect_1_subject.phpt +++ b/tests/misc/mailprotect_1_subject.phpt | |||
| @@ -8,7 +8,7 @@ suhosin.log.stdout=0 | |||
| 8 | suhosin.log.script=0 | 8 | suhosin.log.script=0 |
| 9 | suhosin.log.syslog=0 | 9 | suhosin.log.syslog=0 |
| 10 | suhosin.mail.protect=1 | 10 | suhosin.mail.protect=1 |
| 11 | sendmail_path=/usr/bin/true | 11 | sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true) |
| 12 | --FILE-- | 12 | --FILE-- |
| 13 | <?php | 13 | <?php |
| 14 | var_dump(mail("to", "sub\nject", "msg")); | 14 | var_dump(mail("to", "sub\nject", "msg")); |
diff --git a/tests/misc/mailprotect_1_subject_long.phpt b/tests/misc/mailprotect_1_subject_long.phpt index dc11783..fc71cab 100644 --- a/tests/misc/mailprotect_1_subject_long.phpt +++ b/tests/misc/mailprotect_1_subject_long.phpt | |||
| @@ -8,7 +8,7 @@ suhosin.log.stdout=0 | |||
| 8 | suhosin.log.script=0 | 8 | suhosin.log.script=0 |
| 9 | suhosin.log.syslog=0 | 9 | suhosin.log.syslog=0 |
| 10 | suhosin.mail.protect=1 | 10 | suhosin.mail.protect=1 |
| 11 | sendmail_path=/usr/bin/true | 11 | sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true) |
| 12 | --FILE-- | 12 | --FILE-- |
| 13 | <?php | 13 | <?php |
| 14 | var_dump(mail("to", "sub\n ject\r\n\tfoo", "msg")); | 14 | var_dump(mail("to", "sub\n ject\r\n\tfoo", "msg")); |
diff --git a/tests/misc/mailprotect_1_to.phpt b/tests/misc/mailprotect_1_to.phpt index 59b5202..8f35677 100644 --- a/tests/misc/mailprotect_1_to.phpt +++ b/tests/misc/mailprotect_1_to.phpt | |||
| @@ -8,7 +8,7 @@ suhosin.log.stdout=0 | |||
| 8 | suhosin.log.script=0 | 8 | suhosin.log.script=0 |
| 9 | suhosin.log.syslog=0 | 9 | suhosin.log.syslog=0 |
| 10 | suhosin.mail.protect=1 | 10 | suhosin.mail.protect=1 |
| 11 | sendmail_path=/usr/bin/true | 11 | sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true) |
| 12 | --FILE-- | 12 | --FILE-- |
| 13 | <?php | 13 | <?php |
| 14 | var_dump(mail("t\r\no", "subject", "msg")); | 14 | var_dump(mail("t\r\no", "subject", "msg")); |
diff --git a/tests/misc/mailprotect_1_to_long.phpt b/tests/misc/mailprotect_1_to_long.phpt index 9fb08a0..29c3eea 100644 --- a/tests/misc/mailprotect_1_to_long.phpt +++ b/tests/misc/mailprotect_1_to_long.phpt | |||
| @@ -8,7 +8,7 @@ suhosin.log.stdout=0 | |||
| 8 | suhosin.log.script=0 | 8 | suhosin.log.script=0 |
| 9 | suhosin.log.syslog=0 | 9 | suhosin.log.syslog=0 |
| 10 | suhosin.mail.protect=1 | 10 | suhosin.mail.protect=1 |
| 11 | sendmail_path=/usr/bin/true | 11 | sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true) |
| 12 | --FILE-- | 12 | --FILE-- |
| 13 | <?php | 13 | <?php |
| 14 | var_dump(mail("to\n long\r\n\tfoo", "subject", "msg")); | 14 | var_dump(mail("to\n long\r\n\tfoo", "subject", "msg")); |
diff --git a/tests/misc/mailprotect_2_bcc.phpt b/tests/misc/mailprotect_2_bcc.phpt index f13bcbb..c393722 100644 --- a/tests/misc/mailprotect_2_bcc.phpt +++ b/tests/misc/mailprotect_2_bcc.phpt | |||
| @@ -8,7 +8,7 @@ suhosin.log.stdout=0 | |||
| 8 | suhosin.log.script=0 | 8 | suhosin.log.script=0 |
| 9 | suhosin.log.syslog=0 | 9 | suhosin.log.syslog=0 |
| 10 | suhosin.mail.protect=2 | 10 | suhosin.mail.protect=2 |
| 11 | sendmail_path=/usr/bin/true | 11 | sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true) |
| 12 | --FILE-- | 12 | --FILE-- |
| 13 | <?php | 13 | <?php |
| 14 | var_dump(mail("to", "subject", "msg", "Bcc: me")); | 14 | var_dump(mail("to", "subject", "msg", "Bcc: me")); |
diff --git a/tests/misc/mailprotect_2_cc.phpt b/tests/misc/mailprotect_2_cc.phpt index 960b271..9c380fc 100644 --- a/tests/misc/mailprotect_2_cc.phpt +++ b/tests/misc/mailprotect_2_cc.phpt | |||
| @@ -8,7 +8,7 @@ suhosin.log.stdout=0 | |||
| 8 | suhosin.log.script=0 | 8 | suhosin.log.script=0 |
| 9 | suhosin.log.syslog=0 | 9 | suhosin.log.syslog=0 |
| 10 | suhosin.mail.protect=2 | 10 | suhosin.mail.protect=2 |
| 11 | sendmail_path=/usr/bin/true | 11 | sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true) |
| 12 | --FILE-- | 12 | --FILE-- |
| 13 | <?php | 13 | <?php |
| 14 | var_dump(mail("to", "subject", "msg", "Cc: me")); | 14 | var_dump(mail("to", "subject", "msg", "Cc: me")); |
diff --git a/tests/misc/mailprotect_2_to.phpt b/tests/misc/mailprotect_2_to.phpt index 8723b6f..d98ac8e 100644 --- a/tests/misc/mailprotect_2_to.phpt +++ b/tests/misc/mailprotect_2_to.phpt | |||
| @@ -8,7 +8,7 @@ suhosin.log.stdout=0 | |||
| 8 | suhosin.log.script=0 | 8 | suhosin.log.script=0 |
| 9 | suhosin.log.syslog=0 | 9 | suhosin.log.syslog=0 |
| 10 | suhosin.mail.protect=2 | 10 | suhosin.mail.protect=2 |
| 11 | sendmail_path=/usr/bin/true | 11 | sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true) |
| 12 | --FILE-- | 12 | --FILE-- |
| 13 | <?php | 13 | <?php |
| 14 | var_dump(mail("to", "subject", "msg", "To: me")); | 14 | var_dump(mail("to", "subject", "msg", "To: me")); |
