init
This commit is contained in:
32
test/webapp/bug45nnn/bug45015a.jsp
Normal file
32
test/webapp/bug45nnn/bug45015a.jsp
Normal file
@@ -0,0 +1,32 @@
|
||||
<%--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
--%>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<html>
|
||||
<head><title>Bug 45015 test case A</title></head>
|
||||
<body>
|
||||
<tags:echo echo="00-hello 'world'" />
|
||||
<tags:echo echo="01-hello 'world" />
|
||||
<tags:echo echo="02-hello world'" />
|
||||
<tags:echo echo="03-hello world\'" />
|
||||
<tags:echo echo="04-hello world\"" />
|
||||
<tags:echo echo='05-hello "world"' />
|
||||
<tags:echo echo='06-hello "world' />
|
||||
<tags:echo echo='07-hello world"' />
|
||||
<tags:echo echo='08-hello world\'' />
|
||||
<tags:echo echo='09-hello world\"' />
|
||||
</body>
|
||||
</html>
|
||||
23
test/webapp/bug45nnn/bug45015b.jsp
Normal file
23
test/webapp/bug45nnn/bug45015b.jsp
Normal file
@@ -0,0 +1,23 @@
|
||||
<%--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
--%>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<html>
|
||||
<head><title>Bug 45015 test case B</title></head>
|
||||
<body>
|
||||
<tags:echo echo="hello "wo"rld" />
|
||||
</body>
|
||||
</html>
|
||||
23
test/webapp/bug45nnn/bug45015c.jsp
Normal file
23
test/webapp/bug45nnn/bug45015c.jsp
Normal file
@@ -0,0 +1,23 @@
|
||||
<%--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
--%>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<html>
|
||||
<head><title>Bug 45015 test case C</title></head>
|
||||
<body>
|
||||
<tags:echo echo="<%= "hello world" %>" />
|
||||
</body>
|
||||
</html>
|
||||
39
test/webapp/bug45nnn/bug45427.jsp
Normal file
39
test/webapp/bug45nnn/bug45427.jsp
Normal file
@@ -0,0 +1,39 @@
|
||||
<%--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
--%>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<html>
|
||||
<head><title>Bug 45427 test case</title></head>
|
||||
<body>
|
||||
<p>00-${'hello world'}</p>
|
||||
<p>01-${'hello \'world'}</p>
|
||||
<p>02-${'hello "world'}</p>
|
||||
<p>03-${'hello \"world'}</p>
|
||||
<p>04-${"hello world"}</p>
|
||||
<p>05-${"hello 'world"}</p>
|
||||
<p>06-${"hello \'world"}</p>
|
||||
<p>07-${"hello \"world"}</p>
|
||||
|
||||
<tags:echo echo="08-${'hello world'}" />
|
||||
<tags:echo echo="09-${'hello \\'world'}" />
|
||||
<tags:echo echo="10-${'hello \"world'}" />
|
||||
<tags:echo echo="11-${'hello \\\"world'}" />
|
||||
<tags:echo echo='12-${"hello world"}' />
|
||||
<tags:echo echo='13-${"hello \'world"}' />
|
||||
<tags:echo echo='14-${"hello \\\'world"}' />
|
||||
<tags:echo echo='15-${"hello \\"world"}' />
|
||||
</body>
|
||||
</html>
|
||||
38
test/webapp/bug45nnn/bug45451.jspf
Normal file
38
test/webapp/bug45nnn/bug45451.jspf
Normal file
@@ -0,0 +1,38 @@
|
||||
<%--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
--%>
|
||||
<p>00-${1+1}</p>
|
||||
<p>01-\${1+1}</p>
|
||||
<p>02-\\${1+1}</p>
|
||||
<p>03-\\\${1+1}</p>
|
||||
<p>04-\$500</p>
|
||||
<p>05-${'\\$'}</p>
|
||||
<p>06-${'\\${'}</p>
|
||||
<tags:echo echo="10-${1+1}" />
|
||||
<tags:echo echo="11-\${1+1}" />
|
||||
<tags:echo echo="12-\\${1+1}" />
|
||||
<tags:echo echo="13-\\\${1+1}" />
|
||||
<tags:echo echo="14-\\\\${1+1}" />
|
||||
<tags:echo echo="15-\$500" />
|
||||
<tags:echo echo="16-${'\\\\$'}" />
|
||||
<tags:echo echo="17-${'\\\\${'}" />
|
||||
<tags:echo-deferred echo="20-#{1+1}" />
|
||||
<tags:echo-deferred echo="21-\#{1+1}" />
|
||||
<tags:echo-deferred echo="22-\\#{1+1}" />
|
||||
<tags:echo-deferred echo="23-\\\#{1+1}" />
|
||||
<tags:echo-deferred echo="24-\\\\#{1+1}" />
|
||||
<tags:echo-deferred echo="25-#{'\\\\#'}" />
|
||||
<tags:echo-deferred echo="26-#{'\\\\#{'}" />
|
||||
26
test/webapp/bug45nnn/bug45451a.jsp
Normal file
26
test/webapp/bug45nnn/bug45451a.jsp
Normal file
@@ -0,0 +1,26 @@
|
||||
<%--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
--%>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<html>
|
||||
<head><title>Bug 45451 test case</title></head>
|
||||
<body>
|
||||
<tags:echo echo="00-\\\'${'hello world'}\\\'" />
|
||||
<tags:echo echo="01-\\\'${\"hello world\"}\\\'" />
|
||||
<tags:echo echo='02-\\\'${\'hello world\'}\\\'' />
|
||||
<tags:echo echo='03-\\\'${"hello world"}\\\'' />
|
||||
</body>
|
||||
</html>
|
||||
19
test/webapp/bug45nnn/bug45451b.jsp
Normal file
19
test/webapp/bug45nnn/bug45451b.jsp
Normal file
@@ -0,0 +1,19 @@
|
||||
<%--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
--%>
|
||||
<%@page isELIgnored="false" %>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<%@ include file="bug45451.jspf" %>
|
||||
19
test/webapp/bug45nnn/bug45451c.jsp
Normal file
19
test/webapp/bug45nnn/bug45451c.jsp
Normal file
@@ -0,0 +1,19 @@
|
||||
<%--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
--%>
|
||||
<%@page isELIgnored="true" deferredSyntaxAllowedAsLiteral="true" %>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<%@ include file="bug45451.jspf" %>
|
||||
42
test/webapp/bug45nnn/bug45451d.jspx
Normal file
42
test/webapp/bug45nnn/bug45451d.jspx
Normal file
@@ -0,0 +1,42 @@
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<jsp:root
|
||||
xmlns:bug45451="urn:jsptagdir:/WEB-INF/tags/bug45451"
|
||||
xmlns:jsp="http://java.sun.com/JSP/Page" version="2.2"
|
||||
xmlns:tags="urn:jsptagdir:/WEB-INF/tags" >
|
||||
<jsp:directive.page isELIgnored="false" />
|
||||
<html>
|
||||
<body>
|
||||
<p>00-${1+1}</p>
|
||||
<p>01-\${1+1}</p>
|
||||
<p>02-\\${1+1}</p>
|
||||
<p>03-\\\${1+1}</p>
|
||||
<p>04-\$500</p>
|
||||
<tags:echo echo="10-${1+1}" />
|
||||
<tags:echo echo="11-\${1+1}" />
|
||||
<tags:echo echo="12-\\${1+1}" />
|
||||
<tags:echo echo="13-\\\${1+1}" />
|
||||
<tags:echo echo="14-\\\\${1+1}" />
|
||||
<tags:echo echo="15-\$500" />
|
||||
<tags:echo-deferred echo="20-#{1+1}" />
|
||||
<tags:echo-deferred echo="21-\#{1+1}" />
|
||||
<tags:echo-deferred echo="22-\\#{1+1}" />
|
||||
<tags:echo-deferred echo="23-\\\#{1+1}" />
|
||||
<tags:echo-deferred echo="24-\\\\#{1+1}" />
|
||||
</body>
|
||||
</html>
|
||||
</jsp:root>
|
||||
19
test/webapp/bug45nnn/bug45451e.jsp
Normal file
19
test/webapp/bug45nnn/bug45451e.jsp
Normal file
@@ -0,0 +1,19 @@
|
||||
<%--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
--%>
|
||||
<%@page deferredSyntaxAllowedAsLiteral="true" %>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<%@ include file="bug45451.jspf" %>
|
||||
24
test/webapp/bug45nnn/bug45511.jsp
Normal file
24
test/webapp/bug45nnn/bug45511.jsp
Normal file
@@ -0,0 +1,24 @@
|
||||
<%--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
--%>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<html>
|
||||
<head><title>Bug 45511 test case</title></head>
|
||||
<body>
|
||||
<tags:echo echo="00-${empty(null)}" />
|
||||
<tags:echo echo="01-${not(true)}" />
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user