all repos — honk @ 2b26864d8b650b69f2bfad67219ed4f21c4ad64c

my fork of honk

xonks without https are simply invalid
Ted Unangst tedu@tedunangst.com
Sat, 30 Nov 2019 17:51:27 -0500
commit

2b26864d8b650b69f2bfad67219ed4f21c4ad64c

parent

ca0919497e295ad1658e6f6289519889a8f9b7ca

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

jump to
M activity.goactivity.go

@@ -242,6 +242,9 @@ }

return needxonkid(user, x.XID) } func needxonkid(user *WhatAbout, xid string) bool { + if !strings.HasPrefix(xid, "https://") { + return false + } if strings.HasPrefix(xid, user.URL+"/") { return false }