summaryrefslogtreecommitdiff
path: root/_test/tests/inc/mailer.test.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2013-10-16 21:50:25 +0100
committerChristopher Smith <chris@jalakai.co.uk>2013-10-16 21:50:25 +0100
commitc8d2e830e238503225cac35736b815864d334b1d (patch)
tree4d8b9bcf39326dbbc57ee8e93c2ee1727b05d4db /_test/tests/inc/mailer.test.php
parent30f6faf00624251f7ac69fc86e9f3c5a01ad5d90 (diff)
downloadrpg-c8d2e830e238503225cac35736b815864d334b1d.tar.gz
rpg-c8d2e830e238503225cac35736b815864d334b1d.tar.bz2
escape '$' in mailer test strings
Diffstat (limited to '_test/tests/inc/mailer.test.php')
-rw-r--r--_test/tests/inc/mailer.test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/tests/inc/mailer.test.php b/_test/tests/inc/mailer.test.php
index 3a89413b4..dc234232f 100644
--- a/_test/tests/inc/mailer.test.php
+++ b/_test/tests/inc/mailer.test.php
@@ -50,8 +50,8 @@ class mailer_test extends DokuWikiTest {
// set a bunch of test headers
$mail->setHeader('test-header','bla');
$mail->setHeader('to','A valid ASCII name <test@example.com>');
- $mail->setHeader('from',"Thös ne\needs\x00serious cleaning$§%.");
- $mail->setHeader('bad',"Thös ne\needs\x00serious cleaning$§%.",false);
+ $mail->setHeader('from',"Thös ne\needs\x00serious cleaning\$§%.");
+ $mail->setHeader('bad',"Thös ne\needs\x00serious cleaning\$§%.",false);
$mail->setHeader("weird\n*+\x00foo.-_@bar?",'now clean');
// are they set?