Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] encode query parameters #129

Open
Cologler opened this issue Sep 14, 2020 · 0 comments
Open

[BUG] encode query parameters #129

Cologler opened this issue Sep 14, 2020 · 0 comments

Comments

@Cologler
Copy link

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) });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant