diff --git a/node/src/reporters/utils.ts b/node/src/reporters/utils.ts index c00e7451..3c02aa75 100644 --- a/node/src/reporters/utils.ts +++ b/node/src/reporters/utils.ts @@ -2,7 +2,7 @@ import { Component } from '../types'; function encodePURLchars(str: string): string { return str.replace( - /[^A-Za-z0-9.+/=-%]/g, + /[^A-Za-z0-9.+/=%-]/g, (match) => '%' + ('0' + match.charCodeAt(0).toString(16).toUpperCase()).slice(-2), ); }