-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replay will send nonsense strings that should be captured (#25334)
Co-authored-by: Oliver Browne <[email protected]>
- Loading branch information
1 parent
a978be4
commit 32e56c7
Showing
5 changed files
with
241 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
rust/capture/tests/session_recording_utf_surrogate_console.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"event": "$snapshot", | ||
"properties": { | ||
"$snapshot_data": [ | ||
{ | ||
"windowId": "01924ccf-34f9-764e-b7f9-73c74eb7ed55", | ||
"data": { | ||
"payload": { | ||
"level": "warn", | ||
"payload": ["\\\\\\\",\\\\\\\"emoji_flag\\\\\\\":\\\\\\\"\ud83c...[truncated]", "\"test\""], | ||
"trace": [ | ||
"q/< (https://internal-t.posthog.com/static/recorder.js?v=1.166.0:1:19808)", | ||
"q (https://internal-t.posthog.com/static/recorder.js?v=1.166.0:1:20042)", | ||
"z (https://internal-t.posthog.com/static/recorder.js?v=1.166.0:1:21009)", | ||
"a (https://internal-t.posthog.com/static/recorder.js?v=1.166.0:1:34064)", | ||
"e/this.emit (https://internal-t.posthog.com/static/recorder.js?v=1.166.0:1:35299)", | ||
"e/this.processMutations (https://internal-t.posthog.com/static/recorder.js?v=1.166.0:1:33691)" | ||
] | ||
}, | ||
"plugin": "rrweb/console@1" | ||
}, | ||
"timestamp": 1727865503680, | ||
"type": 6, | ||
"seen": 1185537021728171 | ||
} | ||
] | ||
} | ||
} |