Skip to content

Commit

Permalink
[osu!Post] Fixed encoding issues with map names. (#1)
Browse files Browse the repository at this point in the history
Fixed encoding issues with map names.
  • Loading branch information
givenameplz authored and Piotrekol committed May 19, 2016
1 parent e13229e commit 61ad906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu!StreamCompanion/Code/Modules/osuPost/osuPostApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private string FormatRequest(MapSearchResult map, bool isOnline)
{
var output = "key=" + _userKey;
output += "&isOnline=" + (isOnline ? "true" : "false");
output += "&mapName=" + Uri.EscapeUriString((GetMapName(map)));
output += "&mapName=" + Uri.EscapeDataString((GetMapName(map)));
output += "&mapID=" + GetMapId(map);
output += "&mapSetID=" + GetMapSetId(map);
output += "&userAction=" + GetMapAction(map);
Expand Down Expand Up @@ -211,4 +211,4 @@ public void Dispose()


}
}
}

0 comments on commit 61ad906

Please sign in to comment.