Update the ipv4 loopback regex to cover 127.0.0.1/8. Fortunately, ipv6 only has a...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 19 Jan 2011 19:02:22 +0000 (19:02 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 19 Jan 2011 19:02:22 +0000 (19:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1060901 13f79535-47bb-0310-9956-ffa450edef68

webapps/host-manager/META-INF/context.xml
webapps/manager/META-INF/context.xml

index c641384..1019dc4 100644 (file)
@@ -22,6 +22,6 @@
   -->
   <!--
   <Valve className="org.apache.catalina.valves.RemoteAddrValve"
-         allow="127\.0\.0\.1|::1" />
+         allow="127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|::1" />
   -->
 </Context>
\ No newline at end of file
index de44620..99276a2 100644 (file)
@@ -22,6 +22,6 @@
   -->
   <!--
   <Valve className="org.apache.catalina.valves.RemoteAddrValve"
-         allow="127\.0\.0\.1|::1" />
+         allow="127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|::1" />
   -->
 </Context>