Index: sdk/lib/io/http_impl.dart |
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart |
index 1a5e3a5298e01a3688ee3220a4911c39f309a9d7..615c59aeb873ab305fed79cb737feeef988eff91 100644 |
--- a/sdk/lib/io/http_impl.dart |
+++ b/sdk/lib/io/http_impl.dart |
@@ -1590,8 +1590,8 @@ class _HttpClient implements HttpClient { |
scheme = previous.uri.scheme; |
} |
if (!uri.path.startsWith('/')) { |
- var absolute = new Path.raw(previous.uri.path).directoryPath; |
- absolute = absolute.join(new Path.raw(u.path)); |
+ var absolute = new _Path.raw(previous.uri.path).directoryPath; |
+ absolute = absolute.join(new _Path.raw(u.path)); |
path = absolute.canonicalize().toString(); |
} |
replaceComponents(scheme: scheme, host: host, port: port, path: path); |