You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/11/06 16:30:00 UTC

[jira] [Commented] (KNOX-1106) Tighten the rewrite rule on oozieui to reduce false positives

    [ https://issues.apache.org/jira/browse/KNOX-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240521#comment-16240521 ] 

ASF subversion and git services commented on KNOX-1106:
-------------------------------------------------------

Commit 12217b17d181d995d53e49d48a19baa48f130577 in knox's branch refs/heads/master from [~moresandeep]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=12217b1 ]

KNOX-1106 -  Tighten the rewrite rule on oozieui to reduce false positives (Wei Han via Sandeep More)


> Tighten the rewrite rule on oozieui to reduce false positives
> -------------------------------------------------------------
>
>                 Key: KNOX-1106
>                 URL: https://issues.apache.org/jira/browse/KNOX-1106
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.14.0
>            Reporter: Wei Han
>            Assignee: Wei Han
>            Priority: Trivial
>             Fix For: 0.14.0
>
>         Attachments: 0001-Tighten-the-rewrite-rule-on-oozieui-to-reduce-false-.patch
>
>
> Currently oozieui rule will match uri with any scheme, which sometimes could cause false positives. For example the following rule in oozieui will rewrite viewfs://ns-default/foo/bar/oozie/myfile.jar to http://oozie:11000/oozie/myfile.jar
> <rule dir="IN" name="OOZIEUI/oozie/inbound/root" pattern="*://*:*/**/oozie/">
>     <rewrite template="{$serviceUrl[OOZIEUI]}/"/>
> </rule>
> The attached patch will tighten the rule to match only http and https schemes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)