From 6691b27bd11520a826d4ad5a94449603549854a0 Mon Sep 17 00:00:00 2001 From: steckbrief Date: Mon, 22 Aug 2016 17:04:46 +0200 Subject: missing & added to reqbody in delete type --- prosody-module/mod_http_upload_external/mod_http_upload_external.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prosody-module/mod_http_upload_external') 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, "\\/", "/") -- cgit v1.2.3