JS: Fix FPs from TLDs without a domain name

This commit is contained in:
Asger F
2019-10-24 14:06:41 +01:00
parent 20fb7717d8
commit 17ad97812e
3 changed files with 27 additions and 5 deletions

View File

@@ -101,6 +101,7 @@
pkg.source.match(/<a:skin.*?\s+xmlns:a="http:\/\/ajax.org\/2005\/aml"/m)
// replace
path.replace(/engine.io/, "$&-client")
path.replace(/engine.io/, "$&-client");
/\.com|\.org/; // OK, has no domain name
});