Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fixes #649

Andreas Fuchsbd8f72daab4a
diff --git a/lib/filters.js b/lib/filters.js
index 1c0e7916b..733dab940 100644
--- a/lib/filters.js
+++ b/lib/filters.js
@@ -51,7 +51,7 @@ export const refFilter = (data, { domain, domainOnly, raw }) => {
const links = {};
const isValidRef = ref => {
- return ref !== '' && !ref.startsWith('/') && !ref.startsWith('#');
+ return ref !== '' && ref !== null && !ref.startsWith('/') && !ref.startsWith('#');
};
if (raw) {