Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow trusted shopify domains when sanitizing #1608

Merged
merged 3 commits into from
Dec 12, 2022

Conversation

nelsonwittwer
Copy link
Contributor

@nelsonwittwer nelsonwittwer commented Dec 12, 2022

What this PR does

As Shopify rolls out a new unified admin experience, we can expect to see stores use admin.shopify.com instead of what they had configured in myshopify_domain (which typically defaults to myshopify.com).

This PR will trust Shopify domains even if they differ from what the app has configured on their myshopify_domain configuration.

Reviewer's guide to testing

Should still be able to install app using this gem.

Checklist

Before submitting the PR, please consider if any of the following are needed:

  • Update CHANGELOG.md if the changes would impact users
  • Update README.md, if appropriate.
  • Update any relevant pages in /docs, if necessary
  • For security fixes, the Disclosure Policy must be followed.

@nelsonwittwer nelsonwittwer force-pushed the nelsonwittwer/unified_admin branch from 868ce0f to b635e8a Compare December 12, 2022 18:20
@nelsonwittwer nelsonwittwer merged commit 4cf51ba into main Dec 12, 2022
@nelsonwittwer nelsonwittwer deleted the nelsonwittwer/unified_admin branch December 12, 2022 18:27
fabriazza pushed a commit to fabriazza/shopify_app that referenced this pull request Feb 1, 2023
* allow trusted shopify domains when sanitizing

* better tests for trusting sanitized domains

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

Successfully merging this pull request may close these issues.

2 participants