Skip to content

wrong = encoding in query values #162

@Dante-dan

Description

@Dante-dan

When we encode a query not a url. we should use encodeURIComponent not encodeURI.

Because query value will contain = as character, it should be encode to %3D, but encodeURI will think it is Reserved Characters for url, actually query value is URI's component.

encode(typeof input === "string" ? input : JSON.stringify(input))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions