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

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

                Author: ASF GitHub Bot
            Created on: 30/Nov/26 13:47
            Start Date: 30/Nov/26 13:47
    Worklog Time Spent: 10m 
      Work Description: hanicz opened a new pull request, #1554:
URL: https://github.com/apache/knox/pull/1554

   [KNOX-3607](https://issues.apache.org/jira/browse/KNOX-3607) - Further 
harden PathAcls request path handling
   
   ## What changes were proposed in this pull request?
   
   Follow-up to KNOX-3607. Tightens how the PathAcls provider normalizes 
request paths before matching rules, so that some ambiguous path encodings are 
now rejected with `403` instead of being evaluated. In particular, a request 
path containing an encoded semicolon (`%3B`/`%3b`) is now always declined, and 
these denials have their own log message. The PathAcls documentation is 
updated, including guidance on writing rules.
   
   ## How was this patch tested?
   
   New and updated unit tests in `gateway-provider-security-authz-path-acls` 
(`PathAclCanonicalizerTest`, `PathAclsAuthzCanonicalPathTest`).
   
   ## Integration Tests
   
   No integration tests were added; the change is limited to the PathAcls 
provider and is covered by its unit tests.
   
   ## Performance implications
   
   Negligible. A few precompiled regex checks are added on the path; no new 
I/O, remote calls or caching.




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

    Worklog Id:     (was: 1057636)
    Time Spent: 40m  (was: 0.5h)

> Harden PathAcls
> ---------------
>
>                 Key: KNOX-3607
>                 URL: https://issues.apache.org/jira/browse/KNOX-3607
>             Project: Apache Knox
>          Issue Type: Task
>          Components: Server
>    Affects Versions: 3.0.0, 2.1.1
>            Reporter: Tamás Hanicz
>            Assignee: Tamás Hanicz
>            Priority: Major
>             Fix For: 2.1.2, 3.0.1
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to