forked from dotnet/msbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GetItemProvenance should not unescape input (dotnet#1332)
ItemSpec users control unescaping. This resolves dotnet#1106 Also fixes various issues with slash normalization which got exposed by the fix for dotnet#1106: - slashes are normalized only when the string is a path - checking whether a string is a valid path uses a union of Windows and !Windows characters, based on: dotnet#781 (comment) - Re-implement Path.GetFileName so it works with potentially malformed paths. - Normalize the slashes before normalizing the path. Otherwise .Net's implementation of GetFullPath does not work.
- Loading branch information
Showing
6 changed files
with
223 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.