1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00
Raymond Hill 2019-04-03 00:18:16 -03:00
parent d505adfa38
commit f47ad8366e
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -331,6 +331,7 @@ const setHostnameArg = function(hostname) {
const buf = pslBuffer8;
if ( hostname === hostnameArg ) { return buf[LABEL_INDICES_SLOT]; }
if ( hostname === null || hostname.length === 0 ) {
hostnameArg = '';
return (buf[LABEL_INDICES_SLOT] = 0);
}
hostname = hostname.toLowerCase();