[ 
https://issues.apache.org/jira/browse/KNOX-3193?focusedWorklogId=984108&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-984108
 ]

ASF GitHub Bot logged work on KNOX-3193:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Sep/25 09:03
            Start Date: 23/Sep/25 09:03
    Worklog Time Spent: 10m 
      Work Description: hanicz opened a new pull request, #1087:
URL: https://github.com/apache/knox/pull/1087

   ## What changes were proposed in this pull request?
   
   Users are unable to access certain NiFi pluggable UI pages (e.g., 
UpdateAttribute advanced config UI) when NiFi is accessed through Knox due to 
missing fragment in the redirect `Location` header
   
   - Added fragment to the Nifi redirect `Location` header
   - Since there were no unit tests for `NiFiResponseUtil` I added them 
including the new fragment solution
   
   ## How was this patch tested?
   
   - Build, unit tests
   - Tested on a dev cluster with NiFi
   
   <img width="1142" height="438" alt="image" 
src="https://github.com/user-attachments/assets/49aa4839-c329-4abf-bef7-cd364342ee90";
 />
   
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 984108)
    Remaining Estimate: 0h
            Time Spent: 10m

> No fragments in Location header for NiFi redirects
> --------------------------------------------------
>
>                 Key: KNOX-3193
>                 URL: https://issues.apache.org/jira/browse/KNOX-3193
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 3.0.0
>            Reporter: Tamás Hanicz
>            Assignee: Tamás Hanicz
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Users are unable to access certain NiFi pluggable UI pages (e.g., 
> UpdateAttribute advanced config UI) when NiFi is accessed through Knox. 
> The Location response header is modified programatically from Knox code: 
> [https://github.com/apache/knox/blob/master/gateway-service-nifi/src/main/java/org/apache/knox/gateway/dispatch/NiFiResponseUtil.java#L75-L76]
> However fragments are not added to the Location header and it causes infinite 
> redirect loops for NiFi.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to