tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r981441 - in /tomcat/trunk: java/org/apache/tomcat/util/http/fileupload/ test/webapp-3.0/WEB-INF/tags/ test/webapp-3.0/bug45nnn/
Date Mon, 02 Aug 2010 10:00:42 GMT
Author: rjung
Date: Mon Aug  2 10:00:40 2010
New Revision: 981441

URL: http://svn.apache.org/viewvc?rev=981441&view=rev
Log:
Fix svn properties:
- java/org/apache/tomcat/util/http/fileupload/InvalidFileNameException.java
  Removed mime-type and added eol-style and keywords.
  Already pinged upstream about that.
  Used the same keywords as the other files, slightly
  different from TC conventions.
- We should add tag, tagx, jspf, jspx to our eol-style
  subversion configuration for native line endings.

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/InvalidFileNameException.java
  (contents, props changed)
    tomcat/trunk/test/webapp-3.0/WEB-INF/tags/bug42390.tag   (contents, props changed)
    tomcat/trunk/test/webapp-3.0/WEB-INF/tags/bug48668.tagx   (props changed)
    tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-deferred.tag   (contents, props changed)
    tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-double.tag   (contents, props changed)
    tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-long.tag   (contents, props changed)
    tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-noel.tag   (props changed)
    tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo.tag   (contents, props changed)
    tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015c.jsp   (props changed)
    tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451.jspf   (contents, props changed)
    tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451d.jspx   (contents, props changed)

Modified: tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/InvalidFileNameException.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/InvalidFileNameException.java?rev=981441&r1=981440&r2=981441&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/InvalidFileNameException.java
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/InvalidFileNameException.java
Mon Aug  2 10:00:40 2010
@@ -1,50 +1,50 @@
-/*
- * 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.
- */
-package org.apache.tomcat.util.http.fileupload;
-
-
-/**
- * This exception is thrown in case of an invalid file name.
- * A file name is invalid, if it contains a NUL character.
- * Attackers might use this to circumvent security checks:
- * For example, a malicious user might upload a file with the name
- * "foo.exe\0.png". This file name might pass security checks (i.e.
- * checks for the extension ".png"), while, depending on the underlying
- * C library, it might create a file named "foo.exe", as the NUL
- * character is the string terminator in C.
- */
-public class InvalidFileNameException extends RuntimeException {
-    private static final long serialVersionUID = 7922042602454350470L;
-    private final String name;
-
-    /**
-     * Creates a new instance.
-     * @param pName The file name causing the exception.
-     * @param pMessage A human readable error message.
-     */
-    public InvalidFileNameException(String pName, String pMessage) {
-        super(pMessage);
-        name = pName;
-    }
-
-    /**
-     * Returns the invalid file name.
-     */
-    public String getName() {
-        return name;
-    }
-}
+/*
+ * 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.
+ */
+package org.apache.tomcat.util.http.fileupload;
+
+
+/**
+ * This exception is thrown in case of an invalid file name.
+ * A file name is invalid, if it contains a NUL character.
+ * Attackers might use this to circumvent security checks:
+ * For example, a malicious user might upload a file with the name
+ * "foo.exe\0.png". This file name might pass security checks (i.e.
+ * checks for the extension ".png"), while, depending on the underlying
+ * C library, it might create a file named "foo.exe", as the NUL
+ * character is the string terminator in C.
+ */
+public class InvalidFileNameException extends RuntimeException {
+    private static final long serialVersionUID = 7922042602454350470L;
+    private final String name;
+
+    /**
+     * Creates a new instance.
+     * @param pName The file name causing the exception.
+     * @param pMessage A human readable error message.
+     */
+    public InvalidFileNameException(String pName, String pMessage) {
+        super(pMessage);
+        name = pName;
+    }
+
+    /**
+     * Returns the invalid file name.
+     */
+    public String getName() {
+        return name;
+    }
+}

Propchange: tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/InvalidFileNameException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/InvalidFileNameException.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/InvalidFileNameException.java
            ('svn:mime-type' removed)

Modified: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/bug42390.tag
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/WEB-INF/tags/bug42390.tag?rev=981441&r1=981440&r2=981441&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/WEB-INF/tags/bug42390.tag (original)
+++ tomcat/trunk/test/webapp-3.0/WEB-INF/tags/bug42390.tag Mon Aug  2 10:00:40 2010
@@ -1,18 +1,18 @@
-<%--
- 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.
---%>
-<%@ variable name-given="X" scope="AT_BEGIN" %>
+<%--
+ 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.
+--%>
+<%@ variable name-given="X" scope="AT_BEGIN" %>
 <jsp:doBody/>
\ No newline at end of file

Propchange: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/bug42390.tag
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/bug48668.tagx
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision

Modified: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-deferred.tag
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-deferred.tag?rev=981441&r1=981440&r2=981441&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-deferred.tag (original)
+++ tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-deferred.tag Mon Aug  2 10:00:40 2010
@@ -1,17 +1,17 @@
-<%--
- 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.
---%><%@ tag %><%@ attribute name="echo" deferredValue="true" %><%@
+<%--
+ 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.
+--%><%@ tag %><%@ attribute name="echo" deferredValue="true" %><%@
 tag body-content="empty" %><p>${echo}</p>
\ No newline at end of file

Propchange: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-deferred.tag
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-double.tag
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-double.tag?rev=981441&r1=981440&r2=981441&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-double.tag (original)
+++ tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-double.tag Mon Aug  2 10:00:40 2010
@@ -1,20 +1,20 @@
-<%--
- 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.
---%>
-<%@ tag %><%@
-attribute name="echo" type="java.lang.Double"%><%@
-attribute name="index" type="java.lang.String" %><%@
+<%--
+ 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.
+--%>
+<%@ tag %><%@
+attribute name="echo" type="java.lang.Double"%><%@
+attribute name="index" type="java.lang.String" %><%@
 tag body-content="empty" %><p>${index}-${echo}</p>
\ No newline at end of file

Propchange: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-double.tag
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-long.tag
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-long.tag?rev=981441&r1=981440&r2=981441&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-long.tag (original)
+++ tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-long.tag Mon Aug  2 10:00:40 2010
@@ -1,20 +1,20 @@
-<%--
- 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.
---%>
-<%@ tag %><%@
-attribute name="echo" type="java.lang.Long"%><%@
-attribute name="index" type="java.lang.String" %><%@
+<%--
+ 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.
+--%>
+<%@ tag %><%@
+attribute name="echo" type="java.lang.Long"%><%@
+attribute name="index" type="java.lang.String" %><%@
 tag body-content="empty" %><p>${index}-${echo}</p>
\ No newline at end of file

Propchange: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-long.tag
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo-noel.tag
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision

Modified: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo.tag
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo.tag?rev=981441&r1=981440&r2=981441&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo.tag (original)
+++ tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo.tag Mon Aug  2 10:00:40 2010
@@ -1,18 +1,18 @@
-<%--
- 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.
---%><%@ tag %><%@
-attribute name="echo" type="java.lang.String"%><%@
+<%--
+ 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.
+--%><%@ tag %><%@
+attribute name="echo" type="java.lang.String"%><%@
 tag body-content="empty" %><p>${echo}</p>
\ No newline at end of file

Propchange: tomcat/trunk/test/webapp-3.0/WEB-INF/tags/echo.tag
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015c.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision

Modified: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451.jspf
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451.jspf?rev=981441&r1=981440&r2=981441&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451.jspf (original)
+++ tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451.jspf Mon Aug  2 10:00:40 2010
@@ -1,35 +1,35 @@
-<%--
- 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>
-<tags:echo echo="04-${1+1}" />
-<tags:echo echo="05-\${1+1}" />
-<tags:echo echo="06-\\${1+1}" />
-<tags:echo echo="07-\\\${1+1}" />
-<tags:echo echo="08-\\\\${1+1}" />
-<tags:echo echo="04-${1+1}" />
-<tags:echo echo="05-\${1+1}" />
-<tags:echo echo="06-\\${1+1}" />
-<tags:echo echo="07-\\\${1+1}" />
-<tags:echo echo="08-\\\\${1+1}" />
-<tags:echo-deferred echo="09-#{1+1}" />
-<tags:echo-deferred echo="10-\#{1+1}" />
-<tags:echo-deferred echo="11-\\#{1+1}" />
-<tags:echo-deferred echo="12-\\\#{1+1}" />
-<tags:echo-deferred echo="13-\\\\#{1+1}" />
+<%--
+ 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>
+<tags:echo echo="04-${1+1}" />
+<tags:echo echo="05-\${1+1}" />
+<tags:echo echo="06-\\${1+1}" />
+<tags:echo echo="07-\\\${1+1}" />
+<tags:echo echo="08-\\\\${1+1}" />
+<tags:echo echo="04-${1+1}" />
+<tags:echo echo="05-\${1+1}" />
+<tags:echo echo="06-\\${1+1}" />
+<tags:echo echo="07-\\\${1+1}" />
+<tags:echo echo="08-\\\\${1+1}" />
+<tags:echo-deferred echo="09-#{1+1}" />
+<tags:echo-deferred echo="10-\#{1+1}" />
+<tags:echo-deferred echo="11-\\#{1+1}" />
+<tags:echo-deferred echo="12-\\\#{1+1}" />
+<tags:echo-deferred echo="13-\\\\#{1+1}" />

Propchange: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451.jspf
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451d.jspx
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451d.jspx?rev=981441&r1=981440&r2=981441&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451d.jspx (original)
+++ tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451d.jspx Mon Aug  2 10:00:40 2010
@@ -1,40 +1,40 @@
-<!--
-  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>
-    <tags:echo echo="04-${1+1}" />
-    <tags:echo echo="05-\${1+1}" />
-    <tags:echo echo="06-\\${1+1}" />
-    <tags:echo echo="07-\\\${1+1}" />
-    <tags:echo echo="08-\\\\${1+1}" />
-    <tags:echo-deferred echo="09-#{1+1}" />
-    <tags:echo-deferred echo="10-\#{1+1}" />
-    <tags:echo-deferred echo="11-\\#{1+1}" />
-    <tags:echo-deferred echo="12-\\\#{1+1}" />
-    <tags:echo-deferred echo="13-\\\\#{1+1}" />
-  </body>
-</html>
+<!--
+  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>
+    <tags:echo echo="04-${1+1}" />
+    <tags:echo echo="05-\${1+1}" />
+    <tags:echo echo="06-\\${1+1}" />
+    <tags:echo echo="07-\\\${1+1}" />
+    <tags:echo echo="08-\\\\${1+1}" />
+    <tags:echo-deferred echo="09-#{1+1}" />
+    <tags:echo-deferred echo="10-\#{1+1}" />
+    <tags:echo-deferred echo="11-\\#{1+1}" />
+    <tags:echo-deferred echo="12-\\\#{1+1}" />
+    <tags:echo-deferred echo="13-\\\\#{1+1}" />
+  </body>
+</html>
 </jsp:root>
\ No newline at end of file

Propchange: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451d.jspx
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message