public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. b7981215da3482d3b9370cff4f19ed73ef24180d
Date: Sat, 27 Sep 2014 20:44:05 +0200	[thread overview]
Message-ID: <20140927184406.1D5A72016F@argus.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 3649 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  b7981215da3482d3b9370cff4f19ed73ef24180d (commit)
       via  0e6e5d46c16c98d4fcdf5c277bf234d95593244d (commit)
       via  6ae884e5f9e8d2e6f0a71163d1a2e595942b35ce (commit)
      from  d71bcfce59ceac8c5cb9d96ef33de10742d161aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b7981215da3482d3b9370cff4f19ed73ef24180d
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Sat Sep 27 20:43:49 2014 +0200

    core84: Add changed urlfilter.cgi

commit 0e6e5d46c16c98d4fcdf5c277bf234d95593244d
Merge: d71bcfc 6ae884e
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Sat Sep 27 20:43:23 2014 +0200

    Merge remote-tracking branch 'teissler/Bug_10415' into next

commit 6ae884e5f9e8d2e6f0a71163d1a2e595942b35ce
Author: Timo Eissler <timo(a)eissler.pro>
Date:   Fri Sep 26 22:15:13 2014 +0200

    urlfilter.cgi: safe search enhancements
    
    Fixes: #10415
    
    Activate bing safe search.
    Add nwshp to google url patterns.

-----------------------------------------------------------------------

Summary of changes:
 config/rootfiles/core/84/filelists/files | 1 +
 html/cgi-bin/urlfilter.cgi               | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

Difference in files:
diff --git a/config/rootfiles/core/84/filelists/files b/config/rootfiles/core/84/filelists/files
index 85bca99..359fbe0 100644
--- a/config/rootfiles/core/84/filelists/files
+++ b/config/rootfiles/core/84/filelists/files
@@ -3,6 +3,7 @@ etc/issue
 etc/rc.d/init.d/firewall
 srv/web/ipfire/cgi-bin/firewall.cgi
 srv/web/ipfire/cgi-bin/fwhosts.cgi
+srv/web/ipfire/cgi-bin/urlfilter.cgi
 usr/lib/firewall/firewall-lib.pl
 usr/lib/firewall/rules.pl
 var/ipfire/langs
diff --git a/html/cgi-bin/urlfilter.cgi b/html/cgi-bin/urlfilter.cgi
index 78f7b32..82d9d71 100644
--- a/html/cgi-bin/urlfilter.cgi
+++ b/html/cgi-bin/urlfilter.cgi
@@ -2854,11 +2854,13 @@ sub writeconfigfile
 		if ($filtersettings{'ENABLE_SAFESEARCH'} eq 'on')
 		{
 			print FILE "    # rewrite safesearch\n";
-			print FILE "    s@(.*\\Wgoogle\\.\\w+/(webhp|search|imghp|images|grphp|groups|frghp|froogle)\\?)(.*)(\\bsafe=\\w+)(.*)\@\\1\\3safe=strict\\5\@i\n";
-			print FILE "    s@(.*\\Wgoogle\\.\\w+/(webhp|search|imghp|images|grphp|groups|frghp|froogle)\\?)(.*)\@\\1safe=strict\\\&\\3\@i\n";
+			print FILE "    s@(.*\\Wgoogle\\.\\w+/(webhp|search|imghp|images|grphp|groups|nwshp|frghp|froogle)\\?)(.*)(\\bsafe=\\w+)(.*)\@\\1\\3safe=strict\\5\@i\n";
+			print FILE "    s@(.*\\Wgoogle\\.\\w+/(webhp|search|imghp|images|grphp|groups|nwshp|frghp|froogle)\\?)(.*)\@\\1safe=strict\\\&\\3\@i\n";
 			print FILE "    s@(.*\\Wsearch\\.yahoo\\.\\w+/search\\W)(.*)(\\bvm=\\w+)(.*)\@\\1\\2vm=r\\4\@i\n";
 			print FILE "    s@(.*\\Wsearch\\.yahoo\\.\\w+/search\\W.*)\@\\1\\\&vm=r\@i\n";
 			print FILE "    s@(.*\\Walltheweb\\.com/customize\\?)(.*)(\\bcopt_offensive=\\w+)(.*)\@\\1\\2copt_offensive=on\\4\@i\n";
+			print FILE "    s@(.*\\Wbing\\.\\w+/)(.*)(\\badlt=\\w+)(.*)\@\\1\\2adlt=strict\\4\@i\n";
+			print FILE "    s@(.*\\Wbing\\.\\w+/.*)\@\\1\\\&adlt=strict\@i\n";
 		}
 
 		print FILE "}\n\n";


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2014-09-27 18:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140927184406.1D5A72016F@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox