From 0590be702ec140e906571897de051a1d59d20e8e Mon Sep 17 00:00:00 2001 From: Lucio Lelii Date: Wed, 25 Jan 2017 11:46:33 +0000 Subject: [PATCH] git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/branches/common/common-smartgears/2.1@141758 82a268e6-3cf1-43bd-a215-b396298e98cf --- distro/changelog.xml | 3 +++ pom.xml | 2 +- .../java/org/gcube/smartgears/managers/RequestManager.java | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/distro/changelog.xml b/distro/changelog.xml index dd3b43e..5f8a4b6 100644 --- a/distro/changelog.xml +++ b/distro/changelog.xml @@ -1,4 +1,7 @@ + + Minor issue on filter exclusion fixed + proxy configuration added solved a bug in events registration for ProfileManager diff --git a/pom.xml b/pom.xml index 75bce0e..de43105 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ org.gcube.core common-smartgears - 2.1.0-SNAPSHOT + 2.1.1-SNAPSHOT SmartGears diff --git a/src/main/java/org/gcube/smartgears/managers/RequestManager.java b/src/main/java/org/gcube/smartgears/managers/RequestManager.java index c1da931..4f239c7 100644 --- a/src/main/java/org/gcube/smartgears/managers/RequestManager.java +++ b/src/main/java/org/gcube/smartgears/managers/RequestManager.java @@ -133,7 +133,7 @@ public class RequestManager implements Filter { String excludePath= exclude.getPath(); log.trace("exclude is {}",exclude); if ( - (EXCLUDE_ALL).equals(exclude) || + (EXCLUDE_ALL).equals(excludePath) || (excludePath.endsWith(EXCLUDE_ALL) && path!=null && path.startsWith(excludePath.substring(0,excludePath.length()-2))) || excludePath.equals(path) || (path.endsWith("/") && excludePath.equals(path.substring(0, path.length()-1))) ){