You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605)
Use hostmacher to replace matchlist.

And we introduce a better DialContext to do a full host/IP check, otherwise the attackers can still bypass the allow/block list by a 302 redirection.
3 years ago
..
activity.go Move unit into models/unit/ (#17576) 3 years ago
attachment.go Move attachment into models/repo/ (#17650) 3 years ago
blame.go Add .gitattribute assisted language detection to blame, diff and render (#17590) 3 years ago
branch.go Fixed commit count. (#17698) 3 years ago
commit.go Fixed commit count. (#17698) 3 years ago
compare.go Remove unused `user` paramater (#17723) 3 years ago
download.go Download lfs in git and web workflow from minio/s3 directly (#16731) 3 years ago
editor.go Multiple Escaping Improvements (#17551) 3 years ago
editor_test.go Decouple unit test code from business code (#17623) 3 years ago
http.go Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
http_test.go Fix http path bug (#16117) 3 years ago
issue.go Move attachment into models/repo/ (#17650) 3 years ago
issue_content_history.go Move unit into models/unit/ (#17576) 3 years ago
issue_dependency.go Rename context.Query to context.Form (#16562) 3 years ago
issue_label.go Use a standalone struct name for Organization (#17632) 3 years ago
issue_label_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
issue_lock.go Refactor routers directory (#15800) 3 years ago
issue_stopwatch.go Multiple Escaping Improvements (#17551) 3 years ago
issue_test.go A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
issue_timetrack.go Refactor routers directory (#15800) 3 years ago
issue_watch.go Refactor routers directory (#15800) 3 years ago
lfs.go Multiple Escaping Improvements (#17551) 3 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
middlewares.go Move user functions into user.go (#17659) 3 years ago
migrate.go Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
milestone.go Multiple Escaping Improvements (#17551) 3 years ago
projects.go Multiple Escaping Improvements (#17551) 3 years ago
projects_test.go Decouple unit test code from business code (#17623) 3 years ago
pull.go Use a standalone struct name for Organization (#17632) 3 years ago
pull_review.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
release.go Multiple Escaping Improvements (#17551) 3 years ago
release_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
repo.go Move attachment into models/repo/ (#17650) 3 years ago
search.go Related refactors to ctx.FormX functions (#16567) 3 years ago
setting.go Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
setting_protected_branch.go Use a standalone struct name for Organization (#17632) 3 years ago
settings_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
tag.go Use a standalone struct name for Organization (#17632) 3 years ago
topic.go Related refactors to ctx.FormX functions (#16567) 3 years ago
view.go Add pagination to fork list (#17639) 3 years ago
webhook.go Multiple Escaping Improvements (#17551) 3 years ago
wiki.go Multiple Escaping Improvements (#17551) 3 years ago
wiki_test.go Multiple Escaping Improvements (#17551) 3 years ago