From cf235ad265e2ef79f624a2159421add2edb3151c Mon Sep 17 00:00:00 2001 From: sfc-gh-ext-simba-jy Date: Fri, 22 Mar 2024 14:12:32 -0700 Subject: [PATCH] added network driver path condition --- .../java/net/snowflake/client/config/SFClientConfigParser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/snowflake/client/config/SFClientConfigParser.java b/src/main/java/net/snowflake/client/config/SFClientConfigParser.java index 178e2fd72..4b186498e 100644 --- a/src/main/java/net/snowflake/client/config/SFClientConfigParser.java +++ b/src/main/java/net/snowflake/client/config/SFClientConfigParser.java @@ -90,6 +90,8 @@ && systemGetProperty("os.name").toLowerCase().startsWith("windows")) { updatedPath = updatedPath.substring(1); } else if (updatedPath.startsWith("file:\\")) { updatedPath = updatedPath.substring(6); + } else if (updatedPath.startsWith("\\")) { + updatedPath = updatedPath.substring(2); } updatedPath = updatedPath.replace("/", "\\"); }