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.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to