URI encode title, url and referrer in tracker.

This commit is contained in:
Mike Cao 2024-01-19 15:06:41 -08:00
parent 288836d4a5
commit 0d442b751d

View File

@ -44,9 +44,9 @@
hostname,
screen,
language,
title,
url: currentUrl,
referrer: currentRef,
title: encodeURIComponent(title),
url: encodeURI(currentUrl),
referrer: encodeURI(currentRef),
});
/* Event handlers */