Skip to content

Invalid URI, if array in query params #3

@tbaddade

Description

@tbaddade

I have a problem with an array in query params.

Example:

$url = 'https://example.localhost/?fields[articles]=title';
$uri = new Uri($url, UriParser::MODE_UTF8);

Error:

InvalidArgumentException 
/Kit-UrlParser/src/Uri.php:54

I have no influence on the generation of the Urls, because they come from another extension.
Have you got a solution for this problem?

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