mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
parent
dbdaddfbcc
commit
bb3747ffc9
@ -59,7 +59,7 @@ namespace osu.Game.Online.API.Requests
|
||||
SearchPlayed played = SearchPlayed.Any,
|
||||
SearchExplicit explicitContent = SearchExplicit.Hide)
|
||||
{
|
||||
this.query = string.IsNullOrEmpty(query) ? string.Empty : System.Uri.EscapeDataString(query);
|
||||
this.query = query;
|
||||
this.ruleset = ruleset;
|
||||
this.cursor = cursor;
|
||||
|
||||
@ -78,6 +78,8 @@ namespace osu.Game.Online.API.Requests
|
||||
protected override WebRequest CreateWebRequest()
|
||||
{
|
||||
var req = base.CreateWebRequest();
|
||||
|
||||
if (query != null)
|
||||
req.AddParameter("q", query);
|
||||
|
||||
if (General != null && General.Any())
|
||||
|
Loading…
Reference in New Issue
Block a user