0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 19:14:50 +01:00
gitea/tests
wxiaoguang 7a2786ca6c
Refactor CORS handler (#28587) (#28611)
Backport #28587, the only conflict is the test file.

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 #28515
Fix #27642
Fix #17098
2023-12-25 21:01:24 +08:00
..
e2e Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
fuzz
gitea-lfs-meta
gitea-repositories-meta Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) 2023-10-01 19:54:11 +08:00
integration Refactor CORS handler (#28587) (#28611) 2023-12-25 21:01:24 +08:00
testdata/data/attachments/a/0 Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) 2023-10-01 19:54:11 +08:00
mssql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 2023-09-05 12:34:36 +02:00
mysql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 2023-09-05 12:34:36 +02:00
mysql8.ini.tmpl
pgsql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 2023-09-05 12:34:36 +02:00
sqlite.ini.tmpl
test_utils.go Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) 2023-10-01 19:54:11 +08:00