You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When initializing the SDK with a url that ends with a slash, the SDK won't accept incoming events, as postMessage only contain the origin (scheme + host + port) and not a full url. We do a exact match on the domain set in the config.
newCrowded({domain: "https://yourcommmunity.com/"// hostname of the community^willnotwork});
We should change this, let domain always be just a domain (without scheme or path segments), prepend it with the scheme ourselves (should always be https) and maybe sanitize the input.
The text was updated successfully, but these errors were encountered:
When initializing the SDK with a url that ends with a slash, the SDK won't accept incoming events, as postMessage only contain the origin (scheme + host + port) and not a full url. We do a exact match on the domain set in the config.
We should change this, let domain always be just a domain (without scheme or path segments), prepend it with the scheme ourselves (should always be https) and maybe sanitize the input.
The text was updated successfully, but these errors were encountered: