commit 1ec96d0: [Minor] Fix base tag processing
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Jul 2 13:07:39 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-07-02 14:02:28 +0100
URL: https://github.com/rspamd/rspamd/commit/1ec96d04a93c8746cb3c7b543c27d2127999f443 (HEAD -> master)
[Minor] Fix base tag processing
---
src/libserver/html/html.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx
index 687518343..854386020 100644
--- a/src/libserver/html/html.cxx
+++ b/src/libserver/html/html.cxx
@@ -1312,8 +1312,8 @@ html_process_input(rspamd_mempool_t *pool,
if (maybe_url) {
msg_debug_html ("got valid base tag");
- hc->base_url = url;
- cur_tag->extra = url;
+ hc->base_url = maybe_url.value();
+ cur_tag->extra = maybe_url.value();
cur_tag->flags |= FL_HREF;
}
else {
More information about the Commits
mailing list