Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

bugfix/593 #732

Merged
merged 3 commits into from
Mar 10, 2021
Merged

bugfix/593 #732

merged 3 commits into from
Mar 10, 2021

Conversation

gnikyt
Copy link
Owner

@gnikyt gnikyt commented Mar 10, 2021

  • Ignore data sources on AuthShopify middleware when HMAC is not present

* AuthShopify middleware: moved implode of data sources to own function
* AuthShopify middleware: implode of data sources now handles array and nested arrays
@gnikyt gnikyt added the bug Bug with the code label Mar 10, 2021
@gnikyt gnikyt self-assigned this Mar 10, 2021
@gnikyt gnikyt merged commit 3d5b478 into master Mar 10, 2021
@gnikyt gnikyt deleted the bugfix/593 branch March 10, 2021 12:48
gnikyt added a commit that referenced this pull request Mar 10, 2021
* Fix to webhook stub to adjust 'domain' to 'shopDomain'

* Fix high usage of memory during installation (#705)

Co-authored-by: Clyde Dexter Santiago <clydesantiago@MacBook-Pro-M1.local>

* Updated CONTRIBUTORS.txt

* bugfix/593 (#732)

* Fix for issue #742
* AuthShopify middleware: moved implode of data sources to own function
* AuthShopify middleware: implode of data sources now handles array and nested arrays

* SyleCI fix

* Ignore data if no HMAC in AuthShopify middleware

* Use named routes (#730)

* Updated CONTRIBUTORS.txt

* StyleCI fixes

Co-authored-by: Clyde Dexter Santiago <31274021+clydesantiago@users.noreply.github.com>
Co-authored-by: Clyde Dexter Santiago <clydesantiago@MacBook-Pro-M1.local>
Co-authored-by: Scott Carpenter <scott@payforstay.com>
$result = is_callable($value) ? $value() : $value;
if ($result !== null) {
// Found a shop
return ShopDomain::fromNative($result);
Copy link
Contributor

Choose a reason for hiding this comment

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

won't this just return whatever shop i inject into the http_referer variable?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug with the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants