You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/14 19:13:00 UTC

[jira] [Work logged] (KNOX-2633) Knox token client data parsing does not handle multiple '=' signs

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

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

                Author: ASF GitHub Bot
            Created on: 14/Jul/21 19:12
            Start Date: 14/Jul/21 19:12
    Worklog Time Spent: 10m 
      Work Description: smolnar82 opened a new pull request #468:
URL: https://github.com/apache/knox/pull/468


   ## What changes were proposed in this pull request?
   
   Updated the logic which parses configured `knox.token.client.data` to honour values with multiple `=` characters.
   
   ## How was this patch tested?
   
   Updated an existing JUnit test case to check `knox.token.client.data` too.
   
   Modified our `homepage` topology to contain the appropriate profile name and the `sandbox` topology, then redeployed Knox. I confirmed the `Homepage` link on the token generation UI pointed to the configured URL and it actually opened the homepage with the proper filters in place.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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

> Knox token client data parsing does not handle multiple '=' signs 
> ------------------------------------------------------------------
>
>                 Key: KNOX-2633
>                 URL: https://issues.apache.org/jira/browse/KNOX-2633
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.5.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Client data value may contain the '=' itself. For instance:
> {noformat}
>  homepage_url=homepage/home?profile=token&amp;topologies=cdp-proxy-token{noformat}
> Knox needs to handle these inputs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)