Skip to content

Accept: json detection is a bit weak #18

@sebbASF

Description

@sebbASF

It looks like Wunderbar tries to return JSON data if the Accept: header contains the string 'json' anywhere.

So for example the following works:

Accept: text/html,NotjsonNoWay

This seems rather a weak check.

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