You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/07/23 12:43:23 UTC

[tomcat] branch 7.0.x updated: Fix back-port

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new be14fe3  Fix back-port
be14fe3 is described below

commit be14fe3a085c99a6108c4798fae016d13303f94d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jul 23 13:00:41 2019 +0100

    Fix back-port
---
 test/org/apache/catalina/connector/TestCoyoteAdapterRequestFuzzing.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/connector/TestCoyoteAdapterRequestFuzzing.java b/test/org/apache/catalina/connector/TestCoyoteAdapterRequestFuzzing.java
index 453e04a..0c6f520 100644
--- a/test/org/apache/catalina/connector/TestCoyoteAdapterRequestFuzzing.java
+++ b/test/org/apache/catalina/connector/TestCoyoteAdapterRequestFuzzing.java
@@ -65,7 +65,7 @@ public class TestCoyoteAdapterRequestFuzzing extends TomcatBaseTest {
     public void doTest() throws Exception {
         Tomcat tomcat = getTomcatInstance();
 
-        File appDir = new File("test/webapp");
+        File appDir = new File("test/webapp-3.0");
         Context ctxt = tomcat.addContext("", appDir.getAbsolutePath());
         Tomcat.addServlet(ctxt, "default", DefaultServlet.class.getName());
         ctxt.addServletMapping("/", "default");


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


Re: [tomcat] branch 7.0.x updated: Fix back-port

Posted by Mark Thomas <ma...@apache.org>.
On 23/07/2019 13:43, markt@apache.org wrote:
> This is an automated email from the ASF dual-hosted git repository.
> 
> markt pushed a commit to branch 7.0.x
> in repository https://gitbox.apache.org/repos/asf/tomcat.git
> 
> 
> The following commit(s) were added to refs/heads/7.0.x by this push:
>      new be14fe3  Fix back-port
> be14fe3 is described below
> 
> commit be14fe3a085c99a6108c4798fae016d13303f94d
> Author: Mark Thomas <ma...@apache.org>
> AuthorDate: Tue Jul 23 13:00:41 2019 +0100
> 
>     Fix back-port

This keeps catching me out. I should have back-ported the rename years
ago when I renamed it in Tomcat 8.0. I'm intending to rename this in
7.0.x shortly - primarily to reduce the chances of regressions like this.

Mark


> ---
>  test/org/apache/catalina/connector/TestCoyoteAdapterRequestFuzzing.java | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/org/apache/catalina/connector/TestCoyoteAdapterRequestFuzzing.java b/test/org/apache/catalina/connector/TestCoyoteAdapterRequestFuzzing.java
> index 453e04a..0c6f520 100644
> --- a/test/org/apache/catalina/connector/TestCoyoteAdapterRequestFuzzing.java
> +++ b/test/org/apache/catalina/connector/TestCoyoteAdapterRequestFuzzing.java
> @@ -65,7 +65,7 @@ public class TestCoyoteAdapterRequestFuzzing extends TomcatBaseTest {
>      public void doTest() throws Exception {
>          Tomcat tomcat = getTomcatInstance();
>  
> -        File appDir = new File("test/webapp");
> +        File appDir = new File("test/webapp-3.0");
>          Context ctxt = tomcat.addContext("", appDir.getAbsolutePath());
>          Tomcat.addServlet(ctxt, "default", DefaultServlet.class.getName());
>          ctxt.addServletMapping("/", "default");
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 


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