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(storefront): STRF-11941 Remove quotes from nonce #309

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Conversation

huntario
Copy link
Contributor

@huntario huntario commented Jun 6, 2024

What? Why?

Remove the quotes from nonce helper.

Collaboration with Merchandising on nonce.

How was it tested?

Run storefront-renderer-2 locally with local paper and paper handlebars via npm link

  1. cd into local paper and paper handlebars directories npm link
  2. Then in storefront-renderer-2
    npm link @bigcommerce/stencil-paper
    npm link @bigcommerce/stencil-paper-handlebars
  3. dev.yml
storefront-renderer-2:
    rpc:
      port: 9998

Screenshot 2024-06-05 at 7 46 24 PM


cc @bigcommerce/storefront-team cc @jkanive @bc-erich

@huntario huntario self-assigned this Jun 6, 2024
@huntario huntario requested review from jkanive and jmwiese June 6, 2024 02:20
@jkanive
Copy link

jkanive commented Jun 6, 2024

@huntario In your screenshot it shows that it has " inside the string. Are we not performing a base64 conversion of the nonce?

@huntario
Copy link
Contributor Author

huntario commented Jun 6, 2024

Talked in Slack about this and the base64 aspect will need to be handled in Storefront - https://github.com/bigcommerce/storefront/blob/e9714a4ba6c2b0e6e377dce47b959d7c15dded9e/src/main/scala/com/bigcommerce/storefront/routers/StorefrontTemplateRouter.scala#L161 - in a separate PR.

@huntario huntario merged commit 8554933 into master Jun 10, 2024
2 checks passed
Copy link
Contributor

🎉 This PR is included in version 5.10.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants