mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-02 17:19:38 +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':
|
||||
filter += '/' + tfield0 + '/';
|
||||
break;
|
||||
// https://github.com/gorhill/uBlock/issues/465
|
||||
// Return at least *something*
|
||||
default:
|
||||
filter = compiled.replace(/\s+/g, ' ');
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user