Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(replay): fix path separator substitution to replay all
\
(#6932)
Fixes [CodeQL #81](https://github.com/getsentry/sentry-javascript/security/code-scanning/81). The `.replace()` originally here only replaced the first occurrence of double-backslashes. Using a regex with a global flag option ensures all of the `\\`'s are replaced with `/`.
- Loading branch information