Skip to content

Missleading return type decode #4

@HookedBehemoth

Description

@HookedBehemoth

The function urlencoding::decode returns a Result<Cow<str>, FromUtf8Error> type leading me to believe that I could handle any decoding errors.
In reality there is no FromUtf8Error handling happening at all and it even throws on extend failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions