aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-09-12 14:15:41 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-09-12 14:15:41 -0500
commit8c2f73bb09dc1fa305b59c2adabdc47fd3d5afdb (patch)
treef3ca73e76fac173861dea9cb616d59dc1870e796 /tests/template/template_test.php
parentfc1dfd779da37128382322ffdc75bf751a0834a3 (diff)
downloadforums-8c2f73bb09dc1fa305b59c2adabdc47fd3d5afdb.tar
forums-8c2f73bb09dc1fa305b59c2adabdc47fd3d5afdb.tar.gz
forums-8c2f73bb09dc1fa305b59c2adabdc47fd3d5afdb.tar.bz2
forums-8c2f73bb09dc1fa305b59c2adabdc47fd3d5afdb.tar.xz
forums-8c2f73bb09dc1fa305b59c2adabdc47fd3d5afdb.zip
[ticket/11828] Fix greedy operators in lexer
Use lazy operators and use stricter validation PHPBB3-11828
Diffstat (limited to 'tests/template/template_test.php')
-rw-r--r--tests/template/template_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php
index f2e3903458..e64493e59a 100644
--- a/tests/template/template_test.php
+++ b/tests/template/template_test.php
@@ -158,7 +158,7 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
array(),
array('test_loop' => array(array(), array(), array(), array(), array(), array(), array()), 'test' => array(array()), 'test.deep' => array(array()), 'test.deep.defines' => array(array())),
array(),
- "xyz\nabc\n\$VALUE == 'abc'abc\nbar\nbar\nabc\ntest!@#$%^&*()_-=+{}[]:;\",<.>/?\n[]",
+ "xyz\nabc\n\$VALUE == 'abc'abc\nbar\nbar\nabc\ntest!@#$%^&*()_-=+{}[]:;\",<.>/?\n[]|foobar|",
),
array(
'define_advanced.html',