forked from Shopify/shopify_app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
redirect to root during oauth#callback if attempted phishing attack (S…
…hopify#1605) * render 404 if attempted phishing attack * changelog * rubocop style fixes * root address instead of 404 * redirect to param[:host] after sanitization * Update app/controllers/shopify_app/callback_controller.rb Co-authored-by: Bill Klenotiz <54754550+klenotiw@users.noreply.github.com> Co-authored-by: Bill Klenotiz <54754550+klenotiw@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
38 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters