We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cbf35bc + 64a7023 commit 8a632e0Copy full SHA for 8a632e0
src/main/java/com/salesforce/dataloader/util/AppUtil.java
@@ -168,6 +168,11 @@ public static String getFullPathOfJar(Class<?> aClass) {
168
if (codeSource != null && codeSource.getLocation() != null) {
169
try {
170
String jarFilePath = codeSource.getLocation().toURI().toString();
171
+ try {
172
+ jarFilePath = java.net.URLDecoder.decode(jarFilePath, StandardCharsets.UTF_8.name());
173
+ } catch (UnsupportedEncodingException e) {
174
+ // ignore
175
+ }
176
return jarFilePath.substring(jarFilePath.indexOf('/'));
177
} catch (URISyntaxException e) {
178
return null;
0 commit comments