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

Don't modify the config in Validate #71

Commits on Sep 24, 2020

  1. Don't modify the config in Validate

    Instead of processing '*' and changing the configuration passed into
    Validate, which can break the configuration and cause unexpected panics,
    process it in newCors so the modification only exists in the internal
    copy of the configuration.
    
    Fixes gin-contrib#70
    lantw44 committed Sep 24, 2020
    Copy the full SHA
    7498250 View commit details
    Browse the repository at this point in the history