Skip to content

Commit

Permalink
Unescape URI encoded filenames in project files
Browse files Browse the repository at this point in the history
  • Loading branch information
jkells committed Feb 19, 2015
1 parent bbf0ffb commit 14cdfdf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Microsoft.Build.Evaluation/ProjectItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ public string EvaluatedInclude
{
get
{
return this.Element.Attribute("Include").Value;
string value = this.Element.Attribute("Include").Value;
if(value == null)
return null;

return System.Uri.UnescapeDataString(value);
}
}
public bool HasMetadata(string name)
Expand Down

0 comments on commit 14cdfdf

Please sign in to comment.