This is an automated email from the ASF dual-hosted git repository. henrib pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jexl.git
The following commit(s) were added to refs/heads/master by this push: new fbf6c983 JEXL: regression parsing strings containing \t, reverting to previous code fbf6c983 is described below commit fbf6c9833012ede9906dcc702d4e368a9712c6bf Author: henrib <hen...@apache.org> AuthorDate: Mon Aug 29 14:33:34 2022 +0200 JEXL: regression parsing strings containing \t, reverting to previous code --- src/test/java/org/apache/commons/jexl3/Issues300Test.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/test/java/org/apache/commons/jexl3/Issues300Test.java b/src/test/java/org/apache/commons/jexl3/Issues300Test.java index 6477243a..34ef2af1 100644 --- a/src/test/java/org/apache/commons/jexl3/Issues300Test.java +++ b/src/test/java/org/apache/commons/jexl3/Issues300Test.java @@ -22,8 +22,10 @@ import org.apache.commons.jexl3.introspection.JexlSandbox; import org.junit.Assert; import org.junit.Test; +import java.io.File; import java.io.StringReader; import java.io.StringWriter; +import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; @@ -911,4 +913,13 @@ public class Issues300Test { Assert.assertTrue(msg.contains("badscript")); } } + + @Test + public void testBackslashTee() throws Exception { + JexlEngine jexl = new JexlBuilder().safe(false).create(); + String src = "\"}.</br>Cela inclut :</br>-\tQu?il n?y a plus de questions en cours</br>-\""; + final JexlScript s = jexl.createScript(src); + Assert.assertNotNull(s); + } + }