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:58:38 GMT
Repository: knox
Updated Branches:
  refs/heads/v0.9.0 454ea6017 -> 11333c624


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/11333c62
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/11333c62
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/11333c62

Branch: refs/heads/v0.9.0
Commit: 11333c62405552b19e9a8f78a3df0f713d6996bf
Parents: 454ea60
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:58:32 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/11333c62/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