This is an automated email from the ASF dual-hosted git repository.
hanicz 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 d3654d891 KNOX-3251: Add fragment to Spark streaming page rewrite rule
(#1147)
d3654d891 is described below
commit d3654d8910dc625b4f5616b4cd6f77d9abade58d
Author: hanicz <[email protected]>
AuthorDate: Wed Feb 18 16:55:09 2026 +0100
KNOX-3251: Add fragment to Spark streaming page rewrite rule (#1147)
---
.../src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
b/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
index c39f2936a..b6ce80bfd 100644
---
a/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
+++
b/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
@@ -249,6 +249,9 @@
<match pattern="*://*:*/proxy/{**}">
<rewrite template="{$frontend[url]}/yarnuiv2/proxy/{**}?{**}"/>
</match>
+ <match pattern="/proxy/{path=**}?{**}#{fragment=**}">
+ <rewrite
template="{$frontend[url]}/yarnuiv2/proxy/{path}/?{**}#{fragment}"/>
+ </match>
<match pattern="/proxy/{**}?{**}">
<rewrite template="{$frontend[url]}/yarnuiv2/proxy/{**}?{**}"/>
</match>