Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpFoundation] Request::create does not allow // #59500

Open
@gary-sargent

Description

@gary-sargent

Symfony version(s) affected

5.4.48

Description

Changes in 5.4.46 and 5.4.48 have meant that // is no longer considered a valid URI, however the RFC seems to suggest this is valid. There has even been a specific test case added that // throws an exception.

Why is // (or /// etc) considered invalid? This seems to be a mistake.

How to reproduce

Call Request::create with //

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions