Software /
code /
prosody
File
teal-src/util/http.d.tl @ 11538:30feeb4d9d0b
core.certmanager: Catch error from lfs
lfs.dir() throws a hard error if there's a problem, e.g. no such
directory or permission issues. This also gets called early enough that
the main loop error protection hasn't been brought up yet, causing a
proper crash.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 07 May 2021 16:47:58 +0200 |
parent | 11432:113f3912c7cb |
line wrap: on
line source
local record lib urlencode : function (s : string) : string urldecode : function (s : string) : string formencode : function (f : { string : string }) : string formdecode : function (s : string) : { string : string } contains_token : function (field : string, token : string) : boolean normalize_path : function (path : string) : string end return lib