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

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

                Author: ASF GitHub Bot
            Created on: 18/Feb/25 12:08
            Start Date: 18/Feb/25 12:08
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on PR #991:
URL: https://github.com/apache/knox/pull/991#issuecomment-2665505221

   My two cents:
   - the description suggest tests in the `KNOXSSOUT` service but those tests 
are added in the test cases for `KNOXSSO` ([WebSSOutResourceTest 
](https://github.com/apache/knox/blob/master/gateway-service-knoxssout/src/test/java/org/apache/knox/gateway/service/knoxsso/WebSSOutResourceTest.java)
 vs 
[WebSSOResourceTest](https://github.com/apache/knox/blob/master/gateway-service-knoxsso/src/test/java/org/apache/knox/gateway/service/knoxsso/WebSSOResourceTest.java))
   - these tests - within `WebSSOResourceTest` - are actually testing 
[`RegexUtils`](https://github.com/apache/knox/blob/de3c78cbc44098d273f520b0510cad9519843849/gateway-util-common/src/main/java/org/apache/knox/gateway/util/RegExUtils.java).
 I wonder if it was better to have those test cases in a new `RegExUtilsTest` 
class :bulb:




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

    Worklog Id:     (was: 957506)
    Time Spent: 50m  (was: 40m)

> Add more redirect.whitelist Test Cases for KNOXSSOUT
> ----------------------------------------------------
>
>                 Key: KNOX-3097
>                 URL: https://issues.apache.org/jira/browse/KNOX-3097
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Tests
>            Reporter: Larry McCay
>            Assignee: Larry McCay
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Adding more test cases to incorporate lookahead assertions to check for 
> unwanted characters in URLs to be used in a redirect.



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

Reply via email to