From 462a3baef9f20293c42fb8e34cd233ff98f92aa8 Mon Sep 17 00:00:00 2001 From: Phy Date: Mon, 13 Apr 2020 22:43:02 -0400 Subject: [PATCH] fix slash regression in toolbar signature #3045 --- _test/tests/inc/toolbar.test.php | 20 ++++++++++++++++++++ inc/toolbar.php | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 _test/tests/inc/toolbar.test.php diff --git a/_test/tests/inc/toolbar.test.php b/_test/tests/inc/toolbar.test.php new file mode 100644 index 000000000..0116687dc --- /dev/null +++ b/_test/tests/inc/toolbar.test.php @@ -0,0 +1,20 @@ +*/'; + $INFO['userinfo']['mail'] = 'example@example.org'; + + $date = str_replace('/', '\/', dformat()); + + $expected = '"\" --- \\\n \/\/[[example@example.org|\/*!]]>*\/<\/script>