ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/test/webapp/bug5nnnn/bug56334and56561.jspx

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/test/webapp/bug5nnnn/bug56334and56561.jspx
Status
scanned
Type
file
Name
bug56334and56561.jspx
Extension
.jspx
Programming language

      
    
Mime type
text/xml
File type
XML 1.0 document, ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
2833 (2.8 KB)
MD5
c4428df66f7e90812fa7a3b8e3e6cf17
SHA1
6e6eb8db2519b5548a83287c81a6bfd7414e6a83
SHA256
6d8935480fbc349feb01cf57570e5cee7ab9f42adc8a0e018560e15506c7dec5
SHA512

      
    
SHA1_git
b2420df4e24d1a932af8145634e68d3d1a8618ad
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
bug56334and56561.jspx | 2.8 KB |

<?xml version="1.0" encoding="UTF-8"?> <!-- 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 version="2.3" xmlns="http://www.w3.org/1999/xhtml" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions"> <jsp:directive.page contentType="text/plain; charset=ISO-8859-1"/> <!-- Test 1a: Use \\ in EL in tag attribute --> <c:set var="asd1" value="${'01a\\?resize01a'}" /> <c:out value="${asd1}"/> <c:set var="asd2" value="01b\\x${'\\?resize01b'}" /> <c:out value="${asd2}"/> <!-- Test 2a: Use \\\\ in template text --> <set data-value="${'02a\\\\?resize02a'}" /> <!-- Test 2b: Use \\\\ in template text --> <set data-value="02b\\\\x${'\\\\?resize02b'}" /> <!-- Test 3a: Use \\ in template text --> <set data-value="${'03a\\?resize03a'}" /> <!-- Test 3b: Use \\ in template text --> <set data-value="03b\\x${'\\?resize03b'}" /> <!-- Test 4a: Use \\ in jsp:element --> <jsp:element name="${'04a\\?resize04a'}"></jsp:element> <jsp:element name="04b\\x${'\\?resize04b'}"></jsp:element> <!-- Test 5: Use \$, \# in template text --> <set data-value="05a\$\${&amp;" /> <set data-value="05b\$\${&amp;${1+1}" /> <set data-value="05c\#\#{&gt;${'hello'}&lt;" /> <!-- Test for BZ 56561 --> 05x:<set data-value="" /> <!-- Test 6: nonTaglibXmlnsAttributes on a Node.UninterpretedTag --> <set xmlns:foo="urn:06a\bar\baz" /> <!-- 7. Tests for bug 56334 comment 15 --> 07a:<set data-value="${'\\?resize'}" /> 07b:<set data-content="${fn:escapeXml('\\?resize=.+')}" /> 07c:<set data-content="${fn:escapeXml( '\\?resize=.+')}" /> 07d:<set data-content="${fn:contains(some_value,'\\?resize=.+')}" /> 07e:<set data-content="${fn:contains(some_value, '\\?resize=.+')}" /> 07f:<set data-content="${fn:toLowerCase('\\\'someThing\'')}" /> 07g:<set data-content="${fn:toLowerCase( '\\\'someThing\'')}" /> </jsp:root>
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
31.9
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 10 10
http://java.sun.com/JSP/Page 20 20
http://java.sun.com/jsp/jstl/core 21 21
http://java.sun.com/jsp/jstl/functions 22 22