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. 860ad8cb1551ff0ec5b7da3d28bb9e358470382b
Date: Fri, 27 Sep 2013 16:53:42 +0200	[thread overview]
Message-ID: <20130927145342.388FC20310@argus.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2120 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  860ad8cb1551ff0ec5b7da3d28bb9e358470382b (commit)
      from  d63e50f936d4d33a29af56ebefc2d1ae197d030f (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 860ad8cb1551ff0ec5b7da3d28bb9e358470382b
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Fri Sep 27 16:51:17 2013 +0200

    routing.cgi: Fix error in regex that validates "0.0.0.0".
    
    Fixes #10417.

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

Summary of changes:
 config/rootfiles/core/73/filelists/files | 1 +
 html/cgi-bin/routing.cgi                 | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Difference in files:
diff --git a/config/rootfiles/core/73/filelists/files b/config/rootfiles/core/73/filelists/files
index b56a318..4c393d9 100644
--- a/config/rootfiles/core/73/filelists/files
+++ b/config/rootfiles/core/73/filelists/files
@@ -4,6 +4,7 @@ etc/rc.d/init.d/dnsmasq
 etc/rc.d/init.d/squid
 srv/web/ipfire/cgi-bin/logs.cgi/proxylog.dat
 srv/web/ipfire/cgi-bin/proxy.cgi
+srv/web/ipfire/cgi-bin/routing.cgi
 srv/web/ipfire/html/redirect.cgi
 srv/web/ipfire/html/redirect-templates/
 var/ipfire/header.pl
diff --git a/html/cgi-bin/routing.cgi b/html/cgi-bin/routing.cgi
index afcd388..488705f 100644
--- a/html/cgi-bin/routing.cgi
+++ b/html/cgi-bin/routing.cgi
@@ -126,7 +126,7 @@ if ($settings{'ACTION'} eq $Lang::tr{'add'}) {
 	$errormessage = $Lang::tr{'invalid ip'}." / ".$Lang::tr{'invalid netmask'};
 	}
 
-	if ($settings{'IP'} =~ /0.0.0.0/){
+	if ($settings{'IP'} =~ /^0\.0\.0\.0/){
 	$errormessage = $Lang::tr{'invalid ip'}." - 0.0.0.0";
 	}
 


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

                 reply	other threads:[~2013-09-27 14:53 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=20130927145342.388FC20310@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