commit 9ea2c51: [Minor] Document `image` flag in url:get_flags()

Anton Yuzhaninov citrin+git at citrin.ru
Wed Oct 23 17:21:07 UTC 2019


Author: Anton Yuzhaninov
Date: 2019-10-23 14:03:41 +0100
URL: https://github.com/rspamd/rspamd/commit/9ea2c51f45740eb4a0d56b109d0ee90cb1d8c04a (refs/pull/3115/head)

[Minor] Document `image` flag in url:get_flags()

---
 src/lua/lua_url.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lua/lua_url.c b/src/lua/lua_url.c
index 1531a1c66..cc76f06e8 100644
--- a/src/lua/lua_url.c
+++ b/src/lua/lua_url.c
@@ -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 { \


More information about the Commits mailing list