Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Added validation if the socket doesn't have the referer header. #203

Merged
merged 1 commit into from
Aug 23, 2017
Merged

Added validation if the socket doesn't have the referer header. #203

merged 1 commit into from
Aug 23, 2017

Conversation

omar10594
Copy link
Contributor

When request connection from apps that doesn't send referer header, the server crash.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer

Should fix #197

I don't know if is the best way choose the first auth host (if it is an array).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

React Native referer bug
2 participants