-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Open
Labels
Description
Description
When using the REST API to upload attachments (e.g. to Pull Requests), the configured file size limits in app.ini are not enforced and the attachments > 1 MB are being uploaded. The same limits are enforced correctly in the web UI.
Configuration snippet
[attachment]
| MAX_SIZE = 1
Gitea Version
1.24.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
git version 2.49.1
Operating System
No response
How are you running Gitea?
We are self-hosting Gitea using Docker (official gitea/gitea image) in ubuntu 22.04 linux server.
Database
SQLite