You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2017/10/04 01:25:00 UTC
[jira] [Resolved] (KNOX-800) Broken handling of fragments separated
with '#' in url rewriting
[ https://issues.apache.org/jira/browse/KNOX-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Larry McCay resolved KNOX-800.
------------------------------
Resolution: Cannot Reproduce
> Broken handling of fragments separated with '#' in url rewriting
> ----------------------------------------------------------------
>
> Key: KNOX-800
> URL: https://issues.apache.org/jira/browse/KNOX-800
> Project: Apache Knox
> Issue Type: Bug
> Reporter: Nishant Bangarwa
>
> Knox considers fragment incorrectly as part of URL.
> With the below rewriting rule -
> {code}
> <rule dir="IN" name="SUPERSET-UI/superset-ui/inbound/api" pattern="*://*:*/**/superset/{path=**}#{fragment=**}">
> <rewrite template="{$serviceUrl[SUPERSET-UI]}/superset/{path=**}#{fragment=**}"/>
> </rule>
> {code}
> logs -
> {code}
> 2016-12-06 21:44:35,932 DEBUG hadoop.gateway (UrlRewriteProcessor.java:rewrite(180)) - Rewrote URL: /superset/sqllab#search, direction: OUT via implicit rule: SUPERSET-UI/superset-ui/outbound/superset to
> URL: https://localhost:8443/gateway/sandbox/superset-ui/superset/sqllab/search
> {code}
> Note the expected rewritten url is https://localhost:8443/gateway/sandbox/superset-ui/superset/sqllab#search
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)