all repos — honk @ 8bf51b5a21cfda42dd8e3b97cad9bbdfd3551426

my fork of honk

for completeness, more stealthing
Ted Unangst tedu@tedunangst.com
Tue, 24 Sep 2019 17:03:20 -0400
commit

8bf51b5a21cfda42dd8e3b97cad9bbdfd3551426

parent

a544d31fcf76a4c129010c412f9716645245daa1

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

jump to
M web.goweb.go

@@ -470,6 +470,10 @@ if err != nil {

http.NotFound(w, r) return } + if stealthmode(user.ID, r) { + http.NotFound(w, r) + return + } colname := "/followers" if strings.HasSuffix(r.URL.Path, "/following") { colname = "/following"

@@ -1306,6 +1310,10 @@ }

} user, err := butwhatabout(name) if err != nil { + http.NotFound(w, r) + return + } + if stealthmode(user.ID, r) { http.NotFound(w, r) return }