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 2026/08/11 15:02:01 UTC

(tomcat) 02/03: Fix backport

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

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

commit 07e1b7d3da47a97d2861116f0ba5dd2b4018d256
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Aug 11 15:51:06 2026 +0100

    Fix backport
---
 java/org/apache/tomcat/util/net/NioEndpoint.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java
index 6e2f63e619..ea7565bc14 100644
--- a/java/org/apache/tomcat/util/net/NioEndpoint.java
+++ b/java/org/apache/tomcat/util/net/NioEndpoint.java
@@ -236,7 +236,7 @@ public class NioEndpoint extends AbstractJsseEndpoint<NioChannel,SocketChannel>
             derivePermissions = true;
         }
 
-        if (permissionString == null || permissionString.isBlank()) {
+        if (permissionString == null || permissionString.length() == 0) {
             return null;
         }
 


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