ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/test/webapp/bug53257/index.jsp

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/test/webapp/bug53257/index.jsp
Status
scanned
Type
file
Name
index.jsp
Extension
.jsp
Programming language
Java Server Page
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1645 (1.6 KB)
MD5
4ee17ec7ad41c7f3ba805777e8fc3da0
SHA1
9606bc0f26e3af89c506326f942e04f466442285
SHA256
2e3615c240ff560c6bb3821709984b86b48cc15958666a14196a7565801c9da7
SHA512

      
    
SHA1_git
25baa7f9cbfa6dea3d8399fd396c8cff46dbdead
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
index.jsp | 1.6 KB |

<%-- 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 contentType="text/plain; charset=UTF-8" %><%@page import="java.net.URL,java.net.URLConnection"%><% String[] testFiles = new String[] {"foo;bar.txt", "foo&bar.txt", "foo#bar.txt", "foo%bar.txt", "foo+bar.txt", "foo bar.txt", "foo bar/foobar.txt"}; for (String testFile : testFiles) { URL url = application.getResource("/bug53257/" + testFile); if (url == null) { out.print("FAIL (url) - " + testFile + " "); } else { URLConnection conn = url.openConnection(); long lastModified = conn.getLastModified(); if (lastModified == -1) { out.print("FAIL (last modified)- " + testFile + " "); } else { out.print("PASS - " + testFile + " "); } } } %>
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
59.5
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 9 9