Skip to content

Commit

Permalink
[NOID] format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vga91 committed Dec 18, 2024
1 parent f1caee2 commit 1e77ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/apoc/load/util/JdbcUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static String getSqlOrKey(String sqlOrKey) {
return sqlOrKey.contains(" ")
? sqlOrKey
: Util.getLoadUrlByConfigFile(LOAD_TYPE, sqlOrKey, "sql").orElse("SELECT * FROM " + sqlOrKey);
}
}

public static String obfuscateJdbcUrl(String query) {
return query.replaceAll("(jdbc:[^:]+://)([^\\s\\\"']+)", "$1*******");
Expand Down

0 comments on commit 1e77ce4

Please sign in to comment.