Skip to content

Commit

Permalink
Revert "EscapeUriString is obsolete. Change to EscapeDataString"
Browse files Browse the repository at this point in the history
This reverts commit e38710b.
  • Loading branch information
dseefeld committed Aug 30, 2021
1 parent a01cd19 commit 0e9b657
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ internal string GetOutputFileContent()
}

var relativePathToSourceRoot = projectDir.Substring(innerMostRootItemSpec.Length);
var contentFilesSourceLinkUrl = innerMostRootSourceLinkUrl.Replace("*", Uri.EscapeDataString(relativePathToSourceRoot.Replace('\\', '/')) + "*");
var contentFilesSourceLinkUrl = innerMostRootSourceLinkUrl.Replace("*", Uri.EscapeUriString(relativePathToSourceRoot.Replace('\\', '/')) + "*");
return GetTargetsFileContent(PackageId, contentFilesSourceLinkUrl);
}

Expand Down

0 comments on commit 0e9b657

Please sign in to comment.