-
Support pasting files from remote URLs (via
remote=
form field){server.max_content_length}
is used for download limit- See README.md#paste-file-from-remote-url
-
Hot reload configuration file to apply configuration changes instantly without restarting the server
-
[Internal] Switch to Rust 2021 edition
-
[Security] Prevent serving an already expired file
- In the previous versions, it was possible to view an expired file by using the correct extension (timestamp). e.g.
paste.com/expired_file.txt.1630094518049
will serve the file normally althoughpaste.com/expired_file.txt
says that it is expired. This version fixes this vulnerability by regex-checking the requested file's extension. (ref: f078a9a)
- In the previous versions, it was possible to view an expired file by using the correct extension (timestamp). e.g.