mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 17:02:27 +02:00
#465: decompiler should never return a blank string
This commit is contained in:
parent
a7d5c2619d
commit
2f786ae921
@ -229,7 +229,10 @@ var filterDecompiler = (function() {
|
|||||||
case '//h':
|
case '//h':
|
||||||
filter += '/' + tfield0 + '/';
|
filter += '/' + tfield0 + '/';
|
||||||
break;
|
break;
|
||||||
|
// https://github.com/gorhill/uBlock/issues/465
|
||||||
|
// Return at least *something*
|
||||||
default:
|
default:
|
||||||
|
filter = compiled.replace(/\s+/g, ' ');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user