don't look for @ in url, it's not a handle

This commit is contained in:
Ted Unangst 2019-11-13 11:41:30 -05:00
parent 77b8cd8950
commit da296a8a0a
1 changed files with 0 additions and 3 deletions

3
web.go
View File

@ -2012,9 +2012,6 @@ func webhydra(w http.ResponseWriter, r *http.Request) {
templinfo["ServerMessage"] = "honks in convoy: " + c templinfo["ServerMessage"] = "honks in convoy: " + c
case "honker": case "honker":
xid := r.FormValue("xid") xid := r.FormValue("xid")
if strings.IndexByte(xid, '@') != -1 {
xid = gofish(xid)
}
honks = gethonksbyxonker(userid, xid, wanted) honks = gethonksbyxonker(userid, xid, wanted)
msg := templates.Sprintf(`honks by honker: <a href="%s" ref="noreferrer">%s</a>`, xid, xid) msg := templates.Sprintf(`honks by honker: <a href="%s" ref="noreferrer">%s</a>`, xid, xid)
templinfo["ServerMessage"] = msg templinfo["ServerMessage"] = msg