Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(cors): enhance CORS wildcard handling tests #145

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Commits on Mar 6, 2024

  1. test: enhance CORS wildcard handling tests

    - Import the `reflect` package in `cors_test.go`
    - Add new test cases for parsing wildcard rules in CORS configuration
    - Implement tests to check for panic on multiple wildcards and validate expected results for various wildcard scenarios
    
    Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
    appleboy committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    925d901 View commit details
    Browse the repository at this point in the history