[
https://issues.apache.org/jira/browse/KNOX-2945?focusedWorklogId=872478&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-872478
]
ASF GitHub Bot logged work on KNOX-2945:
----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Jul/23 09:56
Start Date: 24/Jul/23 09:56
Worklog Time Spent: 10m
Work Description: smolnar82 opened a new pull request, #782:
URL: https://github.com/apache/knox/pull/782
## What changes were proposed in this pull request?
As described in the JIRA, the `Target URL` field on the Token Generation UI
was incorrect: it contained a double slash which led to 404 errors. This change
removes the redundant slash from that URL. For instance:
```
https://localhost:8443//gateway/proxy-token/
```
## How was this patch tested?
Manual testing:
<img width="1782" alt="Screenshot 2023-07-24 at 11 55 14"
src="https://github.com/apache/knox/assets/34065904/a3d574c3-3345-4739-8247-68a38f0678e3">
Issue Time Tracking
-------------------
Worklog Id: (was: 872478)
Remaining Estimate: 0h
Time Spent: 10m
> Target URL contains double slash on token generation page
> ---------------------------------------------------------
>
> Key: KNOX-2945
> URL: https://issues.apache.org/jira/browse/KNOX-2945
> Project: Apache Knox
> Issue Type: Bug
> Components: TokenGenerationUI
> Affects Versions: 2.0.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 2.1.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Knox token generation page comes with a target URL with a double slash
> before the gateway.path property upon successful token generation.
> The issue with that is if someone uses that value they will receive a 404.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)