* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 860ad8cb1551ff0ec5b7da3d28bb9e358470382b
@ 2013-09-27 14:53 git
0 siblings, 0 replies; only message in thread
From: git @ 2013-09-27 14:53 UTC (permalink / raw)
To: ipfire-scm
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-27 14:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-27 14:53 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 860ad8cb1551ff0ec5b7da3d28bb9e358470382b git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox