Skip to content

NSURL#gh_filterQueryParams doesn't handle relative URLs gracefully #2

@gabriel

Description

@gabriel

It looks like NSURL#gh_filterQueryParams doesn't handle relative URLs gracefully.

    URL = [URL gh_filterQueryParams:[NSArray arrayWithObjects:@"foo", nil] sort:NO];

If URL before that call is /foo, this call turns it into (null):///foo

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