Commit graph

6 commits

Author SHA1 Message Date
Kim Alvefur
d4986121ac scansion tests: Give a title to HTTP Upload test 2021-02-03 22:13:33 +01:00
Kim Alvefur
3ab51f6864 mod_http_file_share: Reject invalid file sizes 2021-01-27 00:36:49 +01:00
Kim Alvefur
456ca909e2 mod_http_file_share: Add file type filter
Unlike mod_http_upload, this can't be bypassed by uploading with a
different file extension.
2021-01-26 14:53:43 +01:00
Kim Alvefur
a98f3a3e64 mod_http_file_share: Add file size limit (default 10M) 2021-01-26 14:53:24 +01:00
Kim Alvefur
ea3b09dea8 mod_http_file_share: Validate that filename does not contain '/' 2021-01-26 14:52:37 +01:00
Kim Alvefur
4be9b33741 mod_http_file_share: Let's write another XEP-0363 implementation
This variant is meant to improve upon mod_http_upload in some ways:

* Handle files much of arbitrary size efficiently
* Allow GET and PUT URLs to be different
* Remember Content-Type sent by client
* Avoid dependency on mod_http_files
* Built-in way to delegate storage to another httpd
2021-01-26 03:19:17 +01:00