Prevent undefined strings in tracker.
This commit is contained in:
@@ -33,6 +33,10 @@
|
||||
/* Helper functions */
|
||||
|
||||
const encode = str => {
|
||||
if (!str) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
try {
|
||||
const result = decodeURI(str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user