KNOX-1347 - X-Forwarded-Context header is not rewritten correctly
authorLarry McCay <lmccay@apache.org>
Fri, 8 Jun 2018 12:20:34 +0000 (08:20 -0400)
committerLarry McCay <lmccay@apache.org>
Fri, 8 Jun 2018 12:20:34 +0000 (08:20 -0400)
gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/rewrite.xml

index b5df3c9..f5480f0 100644 (file)
   </rule>
   <rule dir="IN" name="SPARKHISTORYUI/sparkhistory/outbound/rqheaders/xfc">
     <match pattern="{**}"/>
-    <rewrite template="{**}/sparkhistoryui" />
+    <rewrite template="/{**}/sparkhistory" />
   </rule>
 
   <filter name="SPARKHISTORYUI/sparkhistory/outbound/headers">