We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 682232c + adba2ba commit fe6c5fbCopy full SHA for fe6c5fb
javascript/mixpanel-network.js
@@ -26,7 +26,7 @@ export const MixpanelNetwork = (() => {
26
headers: {
27
"Content-Type": "application/x-www-form-urlencoded",
28
},
29
- body: `data=${JSON.stringify(data)}`,
+ body: `data=${encodeURIComponent(JSON.stringify(data))}`,
30
});
31
32
const responseBody = await response.json();
0 commit comments