fix(list): title encoding on create

This commit is contained in:
Evangelos Paterakis 2023-01-31 19:39:45 +02:00
parent c71e1cec3c
commit 184c53a7a1
No known key found for this signature in database
GPG Key ID: FE5185F095BFC8C9
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ public class Tooth.Views.Lists : Views.Timeline {
public void create_list(string list_name) {
new Request.POST ("/api/v1/lists")
.with_account (accounts.active)
.with_param ("title", list_name)
.with_param ("title", HtmlUtils.uri_encode(list_name))
.then ((sess, msg) => {
var node = network.parse_node (msg);
var list = API.List.from (node);