Skip to content

\Laragraph\Utils\RequestParser::bodyParams incorrectly includes GET parameters #24

@JakeBooher

Description

@JakeBooher

Describe the bug

Within \Laragraph\Utils\RequestParser::bodyParams it instantiates $bodyParams using $request->input(). This includes GET parameters in the URL, not just the body parameters

Expected behavior/Solution

\Laragraph\Utils\RequestParser::bodyParams should only include bodyParams by using $request->post() instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions