Skip to content

Commit

Permalink
EscapeUriString is obsolete. Change to EscapeDataString
Browse files Browse the repository at this point in the history
  • Loading branch information
dseefeld committed Jul 27, 2021
1 parent a5e2457 commit e38710b
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.EscapeUriString(relativePathToSourceRoot.Replace('\\', '/')) + "*");
var contentFilesSourceLinkUrl = innerMostRootSourceLinkUrl.Replace("*", Uri.EscapeDataString(relativePathToSourceRoot.Replace('\\', '/')) + "*");
return GetTargetsFileContent(PackageId, contentFilesSourceLinkUrl);
}

Expand Down

0 comments on commit e38710b

Please sign in to comment.