Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: runtime/bin/vmservice/loader.dart

Issue 2707383007: gen_snapshot: (Closed)
Patch Set: _sanitizeWindowsPath Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« runtime/bin/gen_snapshot.cc ('K') | « runtime/bin/gen_snapshot.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/loader.dart
diff --git a/runtime/bin/vmservice/loader.dart b/runtime/bin/vmservice/loader.dart
index 7710fe008ac0cca3f17472a5b5475d5f0015d30a..d62eb32e1a8a6aed27f3f88699d92c88c247e709 100644
--- a/runtime/bin/vmservice/loader.dart
+++ b/runtime/bin/vmservice/loader.dart
@@ -1120,7 +1120,7 @@ _processLoadRequest(request) {
break;
case _Dart_kResolveAsFilePath:
String uri = request[4];
- Uri resolvedUri = Uri.parse(uri);
+ Uri resolvedUri = Uri.parse(_sanitizeWindowsPath(uri));
try {
if (resolvedUri.scheme == 'package') {
resolvedUri = loaderState._resolvePackageUri(resolvedUri);
« runtime/bin/gen_snapshot.cc ('K') | « runtime/bin/gen_snapshot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698