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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jaykayrey
Copy link

@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?

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

Successfully merging this pull request may close these issues.

4 participants