Comparison

mod_http_upload/README.markdown @ 2731:d48faff92490

mod_http_upload: Remove MIME type restrictions and checking (fixes #958)
author Kim Alvefur <zash@zash.se>
date Sat, 22 Jul 2017 23:14:13 +0200
parent 2683:d0948bd96a7b
child 2948:7646f565c8ca
comparison
equal deleted inserted replaced
2730:cd828b1cb5b9 2731:d48faff92490
53 53
54 ``` lua 54 ``` lua
55 http_upload_quota = 1234 -- bytes 55 http_upload_quota = 1234 -- bytes
56 ``` 56 ```
57 57
58 ### File types
59
60 Accepted file types can be limited by MIME type:
61
62 ``` lua
63 http_upload_allowed_file_types = { "image/*", "text/plain" }
64 ```
65
66 Path 58 Path
67 ---- 59 ----
68 60
69 By default, uploaded files are put in a sub-directory of the default 61 By default, uploaded files are put in a sub-directory of the default
70 Prosody storage path (usually `/var/lib/prosody`). This can be changed: 62 Prosody storage path (usually `/var/lib/prosody`). This can be changed: