This is an automated email from the ASF dual-hosted git repository.

more pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 321d6b1  KNOX-2667: Fixed an issue where the rewrite rule is not 
referenced in the filter (#500)
321d6b1 is described below

commit 321d6b163f8404f3fa97b18fa10856aaa22a478d
Author: spolavarpau1 <[email protected]>
AuthorDate: Thu Sep 23 06:34:24 2021 -0700

    KNOX-2667: Fixed an issue where the rewrite rule is not referenced in the 
filter (#500)
    
    * KNOX-2667: Update Ranger Service definition for knox logout/timeout in 
KNOX-2625
    
    * KNOX-2667: Fixed an issue where the rewrite rule is not referenced in the 
filter
    
    * Revert "KNOX-2667: Fixed an issue where the rewrite rule is not 
referenced in the filter"
    
    This reverts commit 3412e9d1c8c1cfe97634c9bb20d3410b9caf76f7.
    
    * KNOX-2667: Update Ranger Service definition for knox logout/timeout in 
KNOX-2625
---
 .../src/main/resources/services/rangerui/1.0.0/rewrite.xml             | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/gateway-service-definitions/src/main/resources/services/rangerui/1.0.0/rewrite.xml
 
b/gateway-service-definitions/src/main/resources/services/rangerui/1.0.0/rewrite.xml
index 137dd2c..1175f36 100644
--- 
a/gateway-service-definitions/src/main/resources/services/rangerui/1.0.0/rewrite.xml
+++ 
b/gateway-service-definitions/src/main/resources/services/rangerui/1.0.0/rewrite.xml
@@ -69,6 +69,9 @@
         <content type="application/x-http-headers">
             <apply path="Location" 
rule="RANGERUI/rangerui/outbound/login/headers/location"/>
         </content>
+       <content type="*/*">
+            <apply path="Location" 
rule="RANGERUI/rangerui/outbound/timeout/headers/location"/>
+        </content>
     </filter>
 
 </rules>

Reply via email to