Skip to content

[BUG] encode query parameters #129

Description

@Cologler

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) });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions