# HG changeset patch # User Matthew Wild # Date 1282738885 -3600 # Node ID 4f84297273164670d7c58da27cae0e6592ae9c8b # Parent 75c73ac9d5a6cb9fa32a8c3562fa9812a80ca694 verse.plugins.disco: Remove warning about base64 issue, bug located and fixed diff -r 75c73ac9d5a6 -r 4f8429727316 plugins/disco.lua --- a/plugins/disco.lua Wed Aug 25 13:19:53 2010 +0100 +++ b/plugins/disco.lua Wed Aug 25 13:21:25 2010 +0100 @@ -8,13 +8,6 @@ local st = require "util.stanza" local b64 = require("mime").b64 --- NOTE: The b64 routine in LuaSocket 2.0.2 and below --- contains a bug regarding handling \0, it's advisable --- that you use another base64 routine, or a patched --- version of LuaSocket. --- You can borrow Prosody's (binary) util.encodings lib: ---local b64 = require("util.encodings").base64.encode - local sha1 = require("util.sha1").sha1 local xmlns_disco = "http://jabber.org/protocol/disco";