Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tvanlaerhoven committed Mar 27, 2024
1 parent 571d3c1 commit 044dd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nielsen/src/integration/NielsenHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class NielsenHandler {

// sanitise payload before submitting:
// - only allow printable characters within ASCII 32 to 126 range.
// - no character beyong the last digit.
// - no character beyond the last digit.
// - drop everything before ID3 PRIV{
let sanitizedPayload = payload.replace(/[^ -~]|\D+$/g, '');
const privIndex = sanitizedPayload.indexOf(EMSG_PRIV_SUFFIX);
Expand Down

0 comments on commit 044dd06

Please sign in to comment.