diff gwt-client/src/main/java/org/dive4elements/river/client/server/filter/GGInAFilter.java @ 6894:389bf6b7d371

Backed out changeset 60f39ee19473
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 21 Aug 2013 16:14:29 +0200
parents 60f39ee19473
children 3bff11208d3d
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/filter/GGInAFilter.java	Wed Aug 21 16:13:36 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/filter/GGInAFilter.java	Wed Aug 21 16:14:29 2013 +0200
@@ -99,11 +99,11 @@
         logger.debug("Request for: " + requesturi);
 
         // Allow access to localhost
-        //if (isLocalAddress(req)) {
-        //    logger.debug("Request to localhost");
-        //    chain.doFilter(req, resp);
-        //    return;
-        //}
+        if (isLocalAddress(req)) {
+            logger.debug("Request to localhost");
+            chain.doFilter(req, resp);
+            return;
+        }
 
         // Allow access to login pages
         String path = this.sc.getContextPath();

http://dive4elements.wald.intevation.org