Browse Source

Fixed updater to use EscapeDataString

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
dff9f58724
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      IPA.Loader/Updating/BeatMods/Updater.cs

+ 1
- 1
IPA.Loader/Updating/BeatMods/Updater.cs View File

@ -125,7 +125,7 @@ namespace IPA.Updating.BeatMods
private static readonly Dictionary<string, ApiEndpoint.Mod> modCache = new Dictionary<string, ApiEndpoint.Mod>();
internal static IEnumerator GetModInfo(string modName, string ver, Ref<ApiEndpoint.Mod> result)
{
var uri = string.Format(ApiEndpoint.GetModInfoEndpoint, Uri.EscapeUriString(modName), Uri.EscapeUriString(ver));
var uri = string.Format(ApiEndpoint.GetModInfoEndpoint, Uri.EscapeDataString(modName), Uri.EscapeDataString(ver));
if (modCache.TryGetValue(uri, out ApiEndpoint.Mod value))
{


Loading…
Cancel
Save