Chromium Code Reviews
DescriptionFix PackageUriResolver.restoreAbsolute on Windows
Previously, this method attempted to create a package URI by appending
part of a filesystem path to "package:"; on Windows this resulted in
nonsense URIs like "package:foo\bar.dart".
Now we transform the filesystem paths to "file:" URIs before doing other
computations; this normalizes the path separator to "/", so we can
safely use part of the resulting URIs to construct a "package:" URI.
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/4e41dc0d66d240e20a5e470b66d9071ffad96094
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|
|||||||||||||||||||