dengliming opened a new pull request, #7263:
URL: https://github.com/apache/shenyu/pull/7263

   ## Summary
   - Compile the CORS origin regex when constructing the filter and reuse its 
Pattern for subsequent requests.
   - Refresh the cached Pattern if the mutable configuration changes; retain 
existing full-string matching and whitespace trimming.
   
   Fixes #6577
   
   ## Validation
   - `./mvnw -pl shenyu-web -am -Dtest=CrossFilterTest -DfailIfNoTests=false 
test`
   - Checkstyle enabled. Regression verifies Pattern identity across repeated 
allowed/denied requests, changed regexes, blank regexes, and missing origin 
configuration.
   
   Invalid initial regular expressions now fail at filter construction rather 
than on the first matching-path request.
   


-- 
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