Open Cologler opened 4 years ago
Currently, the query parameters of the request was not be encoded, this may cause some bug if any parameter contains special chars like &, or #, etc.
&
#
When I create a download task, I have to manually encode the magnet link:
ServiceProvider.GetService<ISynologyConnection>() .DownloadStation() .Task() .CreateAsync(new TaskCreateParameters{ Uri = System.Web.HttpUtility.UrlEncode(url) });
Currently, the query parameters of the request was not be encoded, this may cause some bug if any parameter contains special chars like
&
, or#
, etc.When I create a download task, I have to manually encode the magnet link: