Skip to content
Snippets Groups Projects
Verified Commit 449bf8c0 authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Remove unused code segments

parent 861ba95d
No related branches found
Tags v1.2.0-rc
No related merge requests found
...@@ -24,8 +24,7 @@ const Address = { ...@@ -24,8 +24,7 @@ const Address = {
'EXAMPLE': 'example.org', 'EXAMPLE': 'example.org',
'HTTP': 'http:', 'HTTP': 'http:',
'HTTPS': 'https:', 'HTTPS': 'https:',
'WWW_PREFIX': 'www.', 'WWW_PREFIX': 'www.'
'WWW_PREFIX_LENGTH': 4
}; };
const Resource = { const Resource = {
......
...@@ -126,17 +126,6 @@ requestAnalyzer._applyWhitelistedDomains = function () { ...@@ -126,17 +126,6 @@ requestAnalyzer._applyWhitelistedDomains = function () {
}); });
}; };
requestAnalyzer._normalizeDomain = function (domain) {
domain = domain.toLowerCase().trim();
if (domain.startsWith(Address.WWW_PREFIX)) {
domain = domain.slice(Address.WWW_PREFIX_LENGTH);
}
return domain;
};
/** /**
* Initializations * Initializations
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment