From 2f786ae921487ae21bdfca57dac69c2361c01510 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 9 Jul 2015 09:08:49 -0400 Subject: [PATCH] #465: decompiler should never return a blank string --- src/js/logger-ui.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/logger-ui.js b/src/js/logger-ui.js index f970b4f32..b15cc3657 100644 --- a/src/js/logger-ui.js +++ b/src/js/logger-ui.js @@ -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; }