Skip to content

Instantly share code, notes, and snippets.

@uploadcare-user
Created March 30, 2018 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uploadcare-user/e3bbeb400140af113c62fc546142e2fb to your computer and use it in GitHub Desktop.
Save uploadcare-user/e3bbeb400140af113c62fc546142e2fb to your computer and use it in GitHub Desktop.
Snippet, indicates how an intruder can inject malicious code into HTTP referer
<script>
analytics.identify(
'<%= user.id %>',
'<%= request.HTTP_REFERER %>',
...
);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment