Mercurial > prosody-hg
view plugins/sql.lib.lua @ 6591:fe3018a2f187
util.encodings: Perform validation of UTF-8 strings before passing to libidn (Based on code from the utf8 library in Lua 5.3)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 23 Mar 2015 14:26:34 +0100 |
| parents | 9916f0a2d178 |
| children |
line wrap: on
line source
local cache = module:shared("/*/sql.lib/util.sql"); if not cache._M then prosody.unlock_globals(); cache._M = require "util.sql"; prosody.lock_globals(); end return cache._M;
