1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 20:35:38 +02:00

Merge "Use authority section when converting a UNC path to a URI so that the connection name is correctly escaped. "

This commit is contained in:
Greg Watson 2015-01-19 09:58:54 -05:00 committed by Gerrit Code Review @ Eclipse.org
commit 6b817f9c6b

View file

@ -143,7 +143,7 @@ public class RemoteServicesUtils {
String scheme = conn.getRemoteServices().getScheme();
String filePath = path.removeFirstSegments(1).makeAbsolute().toString();
try {
return new URI(scheme, connName, filePath, null);
return new URI(scheme, connName, filePath, null, null);
} catch (URISyntaxException e) {
// Ignore
}