0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 20:34:07 +01:00
gitea/tests
Kemal Zebari 872caa17c0
Catch and handle unallowed file type errors in issue attachment API (#30791)
Before, we would just throw 500 if a user passes an attachment that is
not an allowed type. This commit catches this error and throws a 422
instead since this should be considered a validation error.
2024-05-02 16:33:31 +00:00
..
e2e Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
fuzz Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
gitea-lfs-meta
gitea-repositories-meta Use raw Wiki links for non-renderable Wiki files (#30273) 2024-04-10 17:49:57 +00:00
integration Catch and handle unallowed file type errors in issue attachment API (#30791) 2024-05-02 16:33:31 +00:00
testdata/data/attachments/a/0
mssql.ini.tmpl
mysql.ini.tmpl
pgsql.ini.tmpl
sqlite.ini.tmpl
test_utils.go Add some tests to clarify the "must-change-password" behavior (#30693) 2024-04-27 12:23:37 +00:00