浏览代码

Merge pull request #3115 from citrin/fix-lua-url-doc

Fix docs for rspamd_url lua module
tags/2.1
Vsevolod Stakhov 4 年前
父节点
当前提交
c52e22c7ce
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/lua/lua_url.c

+ 2
- 1
src/lua/lua_url.c 查看文件

@@ -762,7 +762,7 @@ lua_url_create (lua_State *L)
/***
* @function url.init(tld_file)
* Initialize url library if not initialized yet by Rspamd
* @param {string} tld_file for url library
* @param {string} tld_file path to effective_tld_names.dat file (public suffix list)
* @return nothing
*/
static gint
@@ -849,6 +849,7 @@ lua_url_all (lua_State *L)
* - `unnormalised`: URL has some unicode unnormalities
* - `zw_spaces`: URL has some zero width spaces
* - `url_displayed`: URL has some other url-like string in visible part
* - `image`: URL is from src attribute of img HTML tag
* @return {table} URL flags
*/
#define PUSH_FLAG(fl, name) do { \

正在加载...
取消
保存