Skip to content

JsonApiListener::_parseIncludes should identify whitespace differences and throw a more specific error for these #186

@geoidesic

Description

@geoidesic

It's easy for querystring parameters to accidentally include whitespace (via copy / paste etc.) which can make it hard to debug. This would be easily checked for in this function and a message to that effect (i.e. whitespace found in include string) added.

protected function _parseIncludes($includes, $denyList, $allowList, ?Table $repository = null, $path = []): array

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions