1
0
mirror of https://github.com/taigrr/pastebin synced 2026-04-09 23:11:37 -07:00
Commit Graph

6 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
James Mills
648e899e9f Add Drone CI config 2019-07-11 22:26:21 +10:00
James Mills
fd6a5615f0 Fix Makefile 2019-07-11 22:11:33 +10:00
James Mills
5cab47c0e5 Switch to Go11Modules 2019-07-11 22:11:33 +10:00
47ef82966c Fixed config tests 2017-07-06 22:42:04 -07:00
3c42d7d878 Initial Commit 2017-07-02 23:42:34 -07:00