Skip to content

Missing PercentEncoding in the autocomplete function #55

@FelixBronnhuber

Description

@FelixBronnhuber

public static func autocomplete(_ string: String) throws -> Catalog {

The String passed to autocomplete(_ string: String) is not encoded with .addingPercentEncoding(withAllowedCharacters: .urlHostAllowed)

Currently autocomplete("Omnath, Locus") crashes because of the whitespace

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