Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
devedse committed Aug 31, 2020
2 parents 7c26ae9 + 393811d commit 72cd63d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WebOptimizationProject/Helpers/TemplatesHandler.cs
Expand Up @@ -7,6 +7,7 @@
using System.Linq;
using System.Reflection;
using System.Text;
using System.Web;
using WebOptimizationProject.Resources;

namespace WebOptimizationProject.Helpers
Expand Down Expand Up @@ -82,7 +83,7 @@ public static string GetCommitDescriptionForPullRequest(string clonedRepoPath, s
var relativeGitPath = RelativeGitPathHelper.GetRelativeGitPath(clonedRepoPath, fileResult.Path, branchName);
if (relativeGitPath != null)
{
fileName = $"[{fileName}]({relativeGitPath})";
fileName = $"[{fileName}]({HttpUtility.UrlPathEncode(relativeGitPath)})";
}

var originalSize = ValuesToStringHelper.BytesToString(fileResult.OriginalSize);
Expand Down

0 comments on commit 72cd63d

Please sign in to comment.