Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

Can't create URLs with long query strings #39

@bjoern-tantau

Description

@bjoern-tantau

When my application gets a request with a long query string (above ~3000 chars) I get an InvalidArgumentException saying "Invalid query '...'". This seems to be due to preg_match not being able to handle long strings.

You can test it with

$query = str_repeat('a', 3000);
new \Jasny\HttpMessage\Uri(['query' => $query]);

Unfortunately I need long query strings to handle SAML Requests.

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