Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Returns error when there is no query, but params expected.
damencho64bb5563bc19
diff --git a/resources/prosody-plugins/mod_muc_poltergeist.lua b/resources/prosody-plugins/mod_muc_poltergeist.luaindex 638e556f0b..519e87d283 100644--- a/resources/prosody-plugins/mod_muc_poltergeist.lua+++ b/resources/prosody-plugins/mod_muc_poltergeist.lua@@ -169,6 +169,10 @@ end, -100);-- @param event the http event, holds the request query-- @return GET response, containing a json with response detailsfunction handle_create_poltergeist (event)+ if (not event.request.url.query) then+ return 400;+ end+local params = parse(event.request.url.query);local user_id = params["user"];local room_name = params["room"];@@ -194,6 +198,10 @@ end-- @param event the http event, holds the request query-- @return GET response, containing a json with response detailsfunction handle_update_poltergeist (event)+ if (not event.request.url.query) then+ return 400;+ end+local params = parse(event.request.url.query);local user_id = params["user"];local room_name = params["room"];diff --git a/resources/prosody-plugins/mod_muc_size.lua b/resources/prosody-plugins/mod_muc_size.luaindex d8d2716c55..b481f78ac9 100644--- a/resources/prosody-plugins/mod_muc_size.lua+++ b/resources/prosody-plugins/mod_muc_size.lua@@ -72,6 +72,10 @@ end-- @return GET response, containing a json with participants count,-- tha value is without counting the focus.function handle_get_room_size(event)+ if (not event.request.url.query) then+ return 400;+ end+local params = parse(event.request.url.query);local room_name = params["room"];local domain_name = params["domain"];@@ -121,6 +125,10 @@ end-- @param event the http event, holds the request query-- @return GET response, containing a json with participants detailsfunction handle_get_room (event)+ if (not event.request.url.query) then+ return 400;+ end+local params = parse(event.request.url.query);local room_name = params["room"];local domain_name = params["domain"];