You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Wei Han (JIRA)" <ji...@apache.org> on 2018/06/07 15:36:00 UTC
[jira] [Commented] (KNOX-1164) bug fix on oozieui rewrite rul
[ https://issues.apache.org/jira/browse/KNOX-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504824#comment-16504824 ]
Wei Han commented on KNOX-1164:
-------------------------------
We might not need this, as knox-1106 was essentially reverted by https://issues.apache.org/jira/browse/KNOX-1172. Closing this for now.
> bug fix on oozieui rewrite rul
> ------------------------------
>
> Key: KNOX-1164
> URL: https://issues.apache.org/jira/browse/KNOX-1164
> Project: Apache Knox
> Issue Type: Bug
> Reporter: Wei Han
> Priority: Major
> Fix For: 1.1.0
>
> Attachments: 0001-oozieUI-rewrite-rule-fix.patch
>
>
> Fix a bug introduced in https://issues.apache.org/jira/browse/KNOX-1106. The issue is that pattern is always required at the top level definition otherwise the rule won't be effective: https://github.com/apache/knox/blob/5515056406afd48a6b55f4188fe80816c2133744/gateway-provider-rewrite/src/main/java/org/apache/hadoop/gateway/filter/rewrite/api/UrlRewriteProcessor.java#L92
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)