1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 07:33:21 +08:00

Ensure editor timestamp args are URL decoded

This commit is contained in:
Dean Herbert 2024-09-27 20:08:38 +09:00
parent f6c5f975ee
commit 9647a1be7d
No known key found for this signature in database

View File

@ -5,6 +5,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Rulesets.Edit;
@ -234,7 +235,7 @@ namespace osu.Game.Online.Chat
return new LinkDetails(LinkAction.External, url);
}
return new LinkDetails(linkType, args[2]);
return new LinkDetails(linkType, HttpUtility.UrlDecode(args[2]));
case "osump":
return new LinkDetails(LinkAction.JoinMultiplayerMatch, args[1]);