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

Fixed bug that doesn't allow for uppercase letters in redirect_uri #367

Merged
merged 5 commits into from
Jan 7, 2025

Conversation

jaykayrey
Copy link
Contributor

@jaykayrey jaykayrey commented Sep 18, 2024

Fixed bug that didn't allow for redirectPath (redirect_uri in Shopify's API) in the Shopify\Auth\OAuth::begin.

Currently, if you submit a redirectPath with uppercase letters it will make them all lowercase.
Example: "/My/Redirect/Path.php" will become "/my/redirect/path.php" which will make it no longer match the allowed redirect URIs set in the Shopify Partners interface, and also not match the actual redirect.

This only removes the strtolower() being called on the $redirectPath.

  • Patch: Bug (non-breaking change which fixes an issue)

Copy link
Contributor

@matteodepalo matteodepalo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@matteodepalo
Copy link
Contributor

@jaykayrey could you please sign the CLA?

@jaykayrey
Copy link
Contributor Author

I have signed the CLA!

@lizkenyon
Copy link
Contributor

@jaykayrey Can you please add a entry to the CHANGELOG.md.

Then I will merge and release.

@lizkenyon lizkenyon merged commit 39c63a2 into Shopify:main Jan 7, 2025
4 checks passed
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.

4 participants