Просмотр исходного кода

Fixed an excessive sanitization.

default 2 лет назад
Родитель
Сommit
5b2f361b33
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -1573,7 +1573,7 @@ xs_str *html_entry(snac *user, xs_str *os, const xs_dict *msg, int local,
                         xs_html_attr("class", "snac-origin"),
                         xs_html_attr("class", "snac-origin"),
                         xs_html_tag("a",
                         xs_html_tag("a",
                             xs_html_attr("href", xs_dict_get(actor_r, "id")),
                             xs_html_attr("href", xs_dict_get(actor_r, "id")),
-                            xs_html_text(name)),
+                            xs_html_raw(name)), /* already sanitized */
                             xs_html_text(" "),
                             xs_html_text(" "),
                             xs_html_text(L("boosted"))));
                             xs_html_text(L("boosted"))));
             }
             }