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
fix: Fixes nil error while processing wrong jwt value. Fixes #10970
nosmicek40353cf76283
diff --git a/resources/prosody-plugins/token/util.lib.lua b/resources/prosody-plugins/token/util.lib.luaindex 6f1033c13c..b8839dba2a 100644--- a/resources/prosody-plugins/token/util.lib.lua+++ b/resources/prosody-plugins/token/util.lib.lua@@ -261,7 +261,7 @@ function Util:process_and_verify_token(session, acceptedIssuers)pubKey = session.public_key;elseif self.asapKeyServer and session.auth_token ~= nil thenlocal dotFirst = session.auth_token:find("%.");- if not dotFirst then return nil, "Invalid token" end+ if not dotFirst then return false, "not-allowed", "Invalid token" endlocal header, err = json_safe.decode(basexx.from_url64(session.auth_token:sub(1,dotFirst-1)));if err thenreturn false, "not-allowed", "bad token format";