]> source.dussan.org Git - gitblit.git/commitdiff
Fixed validate IPv4 address method
authorJames Moger <james.moger@gitblit.com>
Wed, 5 Dec 2012 22:24:59 +0000 (17:24 -0500)
committerJames Moger <james.moger@gitblit.com>
Wed, 5 Dec 2012 22:24:59 +0000 (17:24 -0500)
src/com/gitblit/utils/HttpUtils.java

index 56c8bd203bff0e88420d2164f5af9a830eedd44b..86f53cfef816ac41a85369140e125b7691ce2a00 100644 (file)
@@ -196,6 +196,7 @@ public class HttpUtils {
                                        return false;\r
                                }\r
                        }\r
+                       return true;\r
                }\r
                // TODO IPV6?\r
                return false;\r