for completeness, more stealthing
Ted Unangst tedu@tedunangst.com
Tue, 24 Sep 2019 17:03:20 -0400
1 files changed,
8 insertions(+),
0 deletions(-)
jump to
M
web.go
→
web.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 }