mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
#465: decompiler should never return a blank string
This commit is contained in:
parent
a7d5c2619d
commit
2f786ae921
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue