snowflake-jdbc
snowflake-jdbc copied to clipboard
SNOW-1163212: InvalidPathException on Windows due to Nested file path
Overview
SNOW-1163212
Pre-review self checklist
- [x] PR branch is updated with all the changes from
master
branch - [x] The code is correctly formatted (run
mvn -P check-style validate
) - [x] New public API is not unnecessary exposed (run
mvn verify
and inspecttarget/japicmp/japicmp.html
) - [x] The pull request name is prefixed with
SNOW-XXXX:
External contributors - please answer these questions before submitting a pull request. Thanks!
-
What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
- [x] Added conditions in SFConfigParser.java for the network-mounted drive
- [x] Replaced only the Windows file path with \ and keep the rest as is.
-
Fill out the following pre-review checklist:
- [x] I am adding a new automated test(s) to verify correctness of my new code
- [ ] I am adding new logging messages
- [ ] I am modifying authorization mechanisms
- [ ] I am adding new credentials
- [ ] I am modifying OCSP code
- [ ] I am adding a new dependency or upgrading an existing one
- [ ] I am adding new public/protected component not marked with
@SnowflakeJdbcInternalApi
(note that public/protected methods/fields in classes marked with this annotation are already internal)
-
Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.