aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-08-22 17:04:46 +0200
committersteckbrief <steckbrief@chefmail.de>2016-08-22 17:04:46 +0200
commit6691b27bd11520a826d4ad5a94449603549854a0 (patch)
tree7b9af7aa53c598c0160dafeb5282e9d1484ef3e0
parent8510b8ababf9a983a6a2097fa0cf1b04a137e215 (diff)
missing & added to reqbody in delete type
-rw-r--r--prosody-module/mod_http_upload_external/mod_http_upload_external.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody-module/mod_http_upload_external/mod_http_upload_external.lua b/prosody-module/mod_http_upload_external/mod_http_upload_external.lua
index 64d5e3c..11175ee 100644
--- a/prosody-module/mod_http_upload_external/mod_http_upload_external.lua
+++ b/prosody-module/mod_http_upload_external/mod_http_upload_external.lua
@@ -145,7 +145,7 @@ module:hook("iq/host/"..xmlns_http_upload..":request", function (event)
return true;
end
-- build the body
- local reqbody = "xmpp_server_key=" .. xmpp_server_key .. "slot_type=delete&file_url=" .. fileurl .. "&user_jid=" .. orig_from;
+ local reqbody = "xmpp_server_key=" .. xmpp_server_key .. "&slot_type=delete&file_url=" .. fileurl .. "&user_jid=" .. orig_from;
-- the request
local respbody, statuscode = http.request(external_url, reqbody);
respbody = string.gsub(respbody, "\\/", "/")