summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@noreply.codeberg.org>2023-07-24 14:00:35 +0000
committergrunfink <grunfink@noreply.codeberg.org>2023-07-24 14:00:35 +0000
commit34963e0abcea1189a0bf5eec5695549c0c8bb183 (patch)
tree087a7397bf5d34cda3e64259afcc4d380305c920 /httpd.c
parent40038831768eea53f79f174edc524e57a4ec2106 (diff)
parente776bf7e2c81d2cd03efda14e06d375bf80f890b (diff)
Merge pull request 'Web Client: Do not hard link on <a> element' (#75) from yonle/snac2:nohardlink into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/75
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index 9aac3b5..1d2200e 100644
--- a/httpd.c
+++ b/httpd.c
@@ -91,7 +91,7 @@ int server_get_handler(xs_dict *req, char *q_path,
if (user_open(&snac, uid)) {
xs *u = xs_fmt(
"<li><a href=\"%s\">@%s@%s (%s)</a></li>\n",
- snac.actor, uid, host,
+ uid, uid, host,
xs_dict_get(snac.config, "name"));
ul = xs_str_cat(ul, u);