knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject knox git commit: KNOX-717 changed the location header rewrite to be more specific
Date Thu, 09 Jun 2016 15:56:00 GMT
Repository: knox
Updated Branches:
  refs/heads/master d88194a26 -> a227981fa


KNOX-717 changed the location header rewrite to be more specific


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/a227981f
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/a227981f
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/a227981f

Branch: refs/heads/master
Commit: a227981fa4287adcb431fa4e17c378117b8ef934
Parents: d88194a
Author: Sumit Gupta <sumit@apache.org>
Authored: Thu Jun 9 11:55:19 2016 -0400
Committer: Sumit Gupta <sumit@apache.org>
Committed: Thu Jun 9 11:55:19 2016 -0400

----------------------------------------------------------------------
 .../src/main/resources/services/rangerui/0.5.0/rewrite.xml       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/a227981f/gateway-service-definitions/src/main/resources/services/rangerui/0.5.0/rewrite.xml
----------------------------------------------------------------------
diff --git a/gateway-service-definitions/src/main/resources/services/rangerui/0.5.0/rewrite.xml
b/gateway-service-definitions/src/main/resources/services/rangerui/0.5.0/rewrite.xml
index 2ed3312..d12700a 100644
--- a/gateway-service-definitions/src/main/resources/services/rangerui/0.5.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/rangerui/0.5.0/rewrite.xml
@@ -30,8 +30,8 @@
     </rule>
 
     <rule dir="OUT" name="RANGERUI/rangerui/outbound/login/headers/location">
-        <match pattern="{scheme}://{host}:{port}/{**}"/>
-        <rewrite template="{$frontend[url]}/ranger/{**}"/>
+        <match pattern="{scheme}://{host}:{port}/login.jsp{**}"/>
+        <rewrite template="{$frontend[url]}/ranger/login.jsp{**}"/>
     </rule>
 
     <filter name="RANGERUI/rangerui/outbound/links">


Mime
View raw message