Skip to content

Commit

Permalink
fix: ensure all sessionIDs are encoded (SOS-52) (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
effervescentia authored Sep 12, 2024
1 parent 1637ba1 commit 4109987
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const useRuntimeAPI = ({
platform: { type: device },
} = Bowser.parse(window.navigator.userAgent);

await runtime.createTranscript(userID, {
await runtime.createTranscript(encodeURIComponent(userID), {
...(os && { os }),
...(browser && { browser }),
...(device && { device }),
Expand Down

0 comments on commit 4109987

Please sign in to comment.