koust6u commented on code in PR #818:
URL: https://github.com/apache/tomcat/pull/818#discussion_r1939672492


##########
java/org/apache/tomcat/util/http/RequestUtil.java:
##########
@@ -145,7 +138,7 @@ public static boolean isSameOrigin(HttpServletRequest 
request, String origin) {
             // ports. Therefore only append the port to the target if a
             // non-default port is used.
             if (("http".equals(scheme) || "ws".equals(scheme)) && port != 80 ||
-                    ("https".equals(scheme) || "wss".equals(scheme)) && port 
!= 443) {
+                ("https".equals(scheme) || "wss".equals(scheme)) && port != 
443) {

Review Comment:
   thanks



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to