From 155d5d2172715ebce6f13c0f42fe0b82bf73688b Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 25 Apr 2014 11:49:12 +0000 Subject: [PATCH] Decrease the chances that js-annoyances creates invalid JavaScript Adding double quotes can cause problems if the filtered text is part of an already double-quoted string. Submitted by John McGowan on ijbswa-users@. --- default.filter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.filter b/default.filter index 43f2ca08..01650f04 100644 --- a/default.filter +++ b/default.filter @@ -2,7 +2,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.85 2012/04/22 12:17:08 fabiankeil Exp $ +# $Id: default.filter,v 1.86 2013/02/19 11:14:47 fabiankeil Exp $ # # Purpose : Rules to process the content of web pages # @@ -93,7 +93,7 @@ FILTER: js-annoyances Get rid of particularly annoying JavaScript abuse. # Get rid of Javascript referrer tracking. # Test page: http://www.javascript-page.com/referrer.html # -s|(?:\w+\.)+referrer|"Not Your Business!"|gisU +s|(?:\w+\.)+referrer|false.toString()|gisU # The status bar is for displaying link targets, not pointless blahblah # -- 2.39.2