Software /
code /
prosody
Comparison
spec/scansion/prosody.cfg.lua @ 11315:c52fcea39c8e
mod_http_file_share: Add file type filter
Unlike mod_http_upload, this can't be bypassed by uploading with a
different file extension.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 26 Jan 2021 14:53:43 +0100 |
parent | 11314:7c8b02c5a335 |
child | 11583:4ee7a6a8753e |
comparison
equal
deleted
inserted
replaced
11314:7c8b02c5a335 | 11315:c52fcea39c8e |
---|---|
132 Component "pubsub.localhost" "pubsub" | 132 Component "pubsub.localhost" "pubsub" |
133 storage = "memory" | 133 storage = "memory" |
134 | 134 |
135 Component "upload.localhost" "http_file_share" | 135 Component "upload.localhost" "http_file_share" |
136 http_file_share_size_limit = 10000000 | 136 http_file_share_size_limit = 10000000 |
137 http_file_share_allowed_file_types = { "text/plain", "image/*" } |