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

fix: trim trailing slashes in shop url in before registration start l… #57

Conversation

MoritzKrafeld
Copy link
Member

If there is a trailing slash in the app url during registration, we need to trim it in order to check if the shop is reachable. This has already been fixed in the app php sdk so that can't happen anymore after the registration is done. As this could still happen during registration and the event which we get contains the whole request, we need to trim it at this point. Trimming it before this would result in an inconsistency between the URL in $event->getRequest() and $event->getShop()->getShopUrl().

@MoritzKrafeld MoritzKrafeld added the bug Something isn't working label Jan 16, 2025
@MoritzKrafeld
Copy link
Member Author

If this gets merged (shopware/app-php-sdk#36) we don't need this MR anymore 😄

@MoritzKrafeld
Copy link
Member Author

Not needed anymore as this is already fixed in https://github.com/shopware/app-php-sdk/releases/tag/4.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants