Skip to content

Commit

Permalink
Don't double encode GitHub download URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Apr 9, 2018
1 parent a495f43 commit 7894581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Netkan/Transformers/GithubTransformer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public Metadata Transform(Metadata metadata)
{
json.SafeAdd("version", ghRelease.Version.ToString());
json.SafeAdd("author", ghRelease.Author);
json.SafeAdd("download", Uri.EscapeUriString(ghRelease.Download.ToString()));
json.SafeAdd("download", ghRelease.Download.ToString());
json.SafeAdd(Model.Metadata.UpdatedPropertyName, ghRelease.AssetUpdated);

if (ghRef.Project.Contains("_"))
Expand Down

0 comments on commit 7894581

Please sign in to comment.