[
https://issues.apache.org/jira/browse/NIFI-14379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936769#comment-17936769
]
ASF subversion and git services commented on NIFI-14379:
--------------------------------------------------------
Commit 4d7c1b5a68d157112835bd5056b2c5e665aba8ae in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4d7c1b5a68 ]
NIFI-14379 Fixed frontend HTTP redirect for paths without trailing slash
- Added Redirect Pattern Rule for frontend path without trailing slash
- Updated default Redirect Pattern Rule to use frontend path with trailing slash
Signed-off-by: Pierre Villard <[email protected]>
This closes #9811.
> Frontend path without trailing slash ignores proxy headers
> ----------------------------------------------------------
>
> Key: NIFI-14379
> URL: https://issues.apache.org/jira/browse/NIFI-14379
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 2.3.0
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When NiFi is deployed behind a reverse proxy, allowed context paths enable
> the reverse proxy to instruct NiFi how to build redirect URLs. Jetty Server
> includes standard behavior for redirect from a path without a trailing slash
> to a path with a trailing slash, such as from {{/nifi}} to {{/nifi/}}. This
> standard behavior does not handle proxy context path headers, leading to
> invalid redirect URLs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)