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

Refactor CORS handler (#28587) #28611

Merged
merged 2 commits into from
Dec 25, 2023

Commits on Dec 25, 2023

  1. Refactor CORS handler (go-gitea#28587)

    The CORS code has been unmaintained for long time, and the behavior is
    not correct.
    
    This PR tries to improve it. The key point is written as comment in
    code. And add more tests.
    
    Fix go-gitea#28515
    Fix go-gitea#27642
    Fix go-gitea#17098
    # Conflicts:
    #	tests/integration/cors_test.go
    wxiaoguang committed Dec 25, 2023
    Configuration menu
    Copy the full SHA
    bf95c97 View commit details
    Browse the repository at this point in the history
  2. fix test

    wxiaoguang committed Dec 25, 2023
    Configuration menu
    Copy the full SHA
    f0b5c62 View commit details
    Browse the repository at this point in the history