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/11/30 12:02:26 UTC

[tomcat] branch 8.5.x updated: Fix back-port of test

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

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


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

commit eb77b9682a43c8abe23f6f75afca4d56409cdaf8
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Sat Nov 30 12:02:15 2019 +0000

    Fix back-port of test
---
 test/org/apache/tomcat/util/http/TestRequestUtilSameOrigin.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/tomcat/util/http/TestRequestUtilSameOrigin.java b/test/org/apache/tomcat/util/http/TestRequestUtilSameOrigin.java
index 5b4c0d0..02ed3d8 100644
--- a/test/org/apache/tomcat/util/http/TestRequestUtilSameOrigin.java
+++ b/test/org/apache/tomcat/util/http/TestRequestUtilSameOrigin.java
@@ -84,7 +84,7 @@ public class TestRequestUtilSameOrigin {
         private final int port;
 
         public TesterRequest(String scheme, String host, int port) {
-            super(new Request(null));
+            super(new Request());
             this.scheme = scheme;
             this.host = host;
             this.port = port;


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