commit 8b1a81a: [Minor] Deal with base flag
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Dec 16 21:28:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-12-16 21:21:53 +0000
URL: https://github.com/rspamd/rspamd/commit/8b1a81a7753ef9751fe464920f39828002b93ab3 (HEAD -> master)
[Minor] Deal with base flag
---
src/lua/lua_html.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lua/lua_html.c b/src/lua/lua_html.c
index 39a4a77a0..0af0457da 100644
--- a/src/lua/lua_html.c
+++ b/src/lua/lua_html.c
@@ -696,7 +696,7 @@ lua_html_tag_get_extra (lua_State *L)
if (tag) {
if (tag->extra) {
- if (tag->flags & FL_HREF) {
+ if ((tag->flags & FL_HREF) || tag->id == Tag_BASE) {
/* For A that's URL */
purl = lua_newuserdata (L, sizeof (gpointer));
*purl = tag->extra;
More information about the Commits
mailing list