Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6.4k
Replace CSRF cookie withCrossOriginProtection#36183
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
17 commits Select commitHold shift + click to select a range
98aa40c Replace csrf cookie with Go 1.25 CrossOriginProtection
silverwind78e333b fix lint
silverwind2ad6e00 remove CSRF_COOKIE_HTTP_ONLY docs
silverwind85336f9 rename opt
silverwind4b616c3 rename vars
silverwind330dc75 rename var
silverwind9378099 rename to optSignInNoCOP
silverwinde76ffa9 fix some tests
silverwind1eb058d try to fix test
silverwinda8a8958 fix
wxiaoguang0fd754d fix
wxiaoguang8c5d861 fix
wxiaoguangce38887 fix data race
wxiaoguang897ff51 fix AuthorizeLoginRedirect
wxiaoguang2c26049 fine tune
wxiaoguang4cabac4 Update services/context/context.go
wxiaoguang0027ddf Merge branch 'main' into nocsrf
wxiaoguangFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
rename vars
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit4b616c3c2fb125efe55272c442482ddc99ca0075
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
8 changes: 4 additions & 4 deletionsrouters/common/auth.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionrouters/web/githttp.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletionsrouters/web/web.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.