all repos — honk @ c92d71a61681a1c5b92ac37cfacec6b00b8d6dca

my fork of honk

remove \r from status
Ted Unangst tedu@tedunangst.com
Mon, 06 Jan 2020 12:28:25 -0500
commit

c92d71a61681a1c5b92ac37cfacec6b00b8d6dca

parent

24c6c69cc193b67c081cee9355450e8525bf922d

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M web.goweb.go

@@ -1132,7 +1132,7 @@ options.Avatar = fmt.Sprintf("https://%s/meme/%s", serverName, ava)

} else { options.Avatar = "" } - whatabout = strings.TrimSpace(whatabout) + whatabout = strings.Replace(strings.TrimSpace(whatabout), "\r", "", -1) j, err := jsonify(options) if err == nil { _, err = db.Exec("update users set about = ?, options = ? where username = ?", whatabout, j, u.Username)