| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
- Added `maxImageProxySize` constant (10MB) to limit memory usage.
- Used `io.LimitReader` in `imageProxyHandler` to enforce the limit.
- Added regression test `web/proxy_limit_test.go` to verify the fix.
Co-authored-by: adammathes <868470+adammathes@users.noreply.github.com>
|
| |
|
|
|
|
|
|
| |
- Removed the `disable` list from `.golangci.yml`.
- `disable-all: true` conflicts with specifying a list of linters to `disable`.
- Since we are already disabling all linters and then enabling specific ones, explicitly disabling `errcheck` is unnecessary and invalid configuration.
Co-authored-by: adammathes <868470+adammathes@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
- Removed `version: "2"` from `.golangci.yml`.
- This field is not supported in the configuration schema for `golangci-lint` v1.64.6, causing the validation error: `additional properties 'version' not allowed`.
Co-authored-by: adammathes <868470+adammathes@users.noreply.github.com>
|
| | |
|
| | |
|
|
|
with v1
|