forked from gitea/gitea
1
0
Fork 0
gitea/modules/lfs
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.
2021-11-20 17:34:05 +08:00
..
LICENSE Git LFS support v2 (#122) 2016-12-26 09:16:37 +08:00
client.go Use `hostmatcher` to replace `matchlist`, improve security (#17605) 2021-11-20 17:34:05 +08:00
client_test.go Use `hostmatcher` to replace `matchlist`, improve security (#17605) 2021-11-20 17:34:05 +08:00
content_store.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
endpoint.go Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
endpoint_test.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
filesystem_client.go Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
http_client.go Use `hostmatcher` to replace `matchlist`, improve security (#17605) 2021-11-20 17:34:05 +08:00
http_client_test.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
pointer.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
pointer_scanner_gogit.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
pointer_scanner_nogogit.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
pointer_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
shared.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
transferadapter.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
transferadapter_test.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00