diff options
Diffstat (limited to 'ext/imap/tests/bug77153.phpt')
-rw-r--r-- | ext/imap/tests/bug77153.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/imap/tests/bug77153.phpt b/ext/imap/tests/bug77153.phpt index 7b759621fe..d767ce5472 100644 --- a/ext/imap/tests/bug77153.phpt +++ b/ext/imap/tests/bug77153.phpt @@ -1,11 +1,11 @@ ---TEST-- +--TEST-- Bug #77153 (imap_open allows to run arbitrary shell commands via mailbox parameter) --SKIPIF-- <?php - if (!extension_loaded("imap")) { - die("skip imap extension not available"); - } +extension_loaded('imap') or die('skip imap extension not available in this build'); ?> +--CONFLICTS-- +defaultmailbox --FILE-- <?php $payload = "echo 'BUG'> " . __DIR__ . '/__bug'; @@ -21,4 +21,4 @@ bool(false) --CLEAN-- <?php if(file_exists(__DIR__ . '/__bug')) unlink(__DIR__ . '/__bug'); -?>
\ No newline at end of file +?> |