Projects
openEuler:24.03:SP1:Everything:64G
apache-commons-io
_service:tar_scm:CVE-2021-29425-3.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:CVE-2021-29425-3.patch of Package apache-commons-io
From bb388f116290c3e3ff244082fd5c376a45a5c798 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig <stefan.bodewig@innoq.com> Date: Thu, 17 May 2018 21:03:26 +0200 Subject: [PATCH 3/4] isRFC3986HostName applies to IPv4 addresses so we can safe the test --- src/main/java/org/apache/commons/io/FilenameUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java b/src/main/java/org/apache/commons/io/FilenameUtils.java index a829f8c7..b93476bb 100644 --- a/src/main/java/org/apache/commons/io/FilenameUtils.java +++ b/src/main/java/org/apache/commons/io/FilenameUtils.java @@ -1469,7 +1469,7 @@ public class FilenameUtils { * @return true if the given name is a valid host name */ private static boolean isValidHostName(String name) { - return isIPv4Address(name) || isIPv6Address(name) || isRFC3986HostName(name); + return isIPv6Address(name) || isRFC3986HostName(name); } private static final Pattern IPV4_PATTERN = -- 2.23.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2