aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_url.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-29 11:42:46 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-29 11:42:46 +0100
commit30c0dca001842d9dc009be0ff9ade49b69963bd2 (patch)
tree48d6d5074008cda4a498b538a0c10bf70b925f77 /src/lua/lua_url.c
parent638dfe7e1a7b75c2d0c7e06cff728595512d3c7a (diff)
downloadrspamd-30c0dca001842d9dc009be0ff9ade49b69963bd2.tar.gz
rspamd-30c0dca001842d9dc009be0ff9ade49b69963bd2.zip
[Rework] Rework image urls processing
Diffstat (limited to 'src/lua/lua_url.c')
-rw-r--r--src/lua/lua_url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_url.c b/src/lua/lua_url.c
index b30e560c9..8742a6027 100644
--- a/src/lua/lua_url.c
+++ b/src/lua/lua_url.c
@@ -881,6 +881,7 @@ lua_url_get_flags (lua_State *L)
PUSH_FLAG (RSPAMD_URL_FLAG_UNNORMALISED, "unnormalised");
PUSH_FLAG (RSPAMD_URL_FLAG_ZW_SPACES, "zw_spaces");
PUSH_FLAG (RSPAMD_URL_FLAG_DISPLAY_URL, "url_displayed");
+ PUSH_FLAG (RSPAMD_URL_FLAG_IMAGE, "image");
}
else {
return luaL_error (L, "invalid arguments");