Skip to content

add check for origin/referer to reduce likelihood of invalid data submission? #87

Description

@kewalaka

unless i'm mistaken, the snippet will accept data from any origin.

I wondered whether having an optional origin/referrer header check might be worthwhile to reduce the likelihood of this being done accidentally? noting this relies on people being good and not spoofing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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