1
0
mirror of https://github.com/taigrr/pastebin synced 2026-04-10 10:51:32 -07:00

5 Commits

Author SHA1 Message Date
02d3bc9aa5 fix: improve correctness and safety
- Add MaxBytesReader to limit paste body size (1 MB)
- Buffer template output before writing to prevent partial responses
- Add paste ID collision retry logic
- Update Dockerfile to use modern multi-stage build (remove go.rice)
- Update Makefile to use direct go build commands
- Add test for oversized paste rejection
2026-03-09 05:45:03 +00:00
Aleksey Lobanov
10645aa3a5 docker: Multistage Docker build (#6)
Reducing image size approximately from 341MB to 16MB
2020-12-06 20:54:16 +10:00
Tai Groot
ead67c221f updates dockerfile to work with latest golang, adds .dockerignore, fixes CI (#4)
* adds support for https://github.com/golang/go/issues/32479

* updated dockerfile to work with latest golang, added .dockerignore
2020-10-15 16:41:45 +10:00
3e081f0aa0 Refacted, new look and raw download feature 2017-07-09 01:57:21 -07:00
3c42d7d878 Initial Commit 2017-07-02 23:42:34 -07:00