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

master
Ted Unangst 5 years ago
parent 77b8cd8950
commit da296a8a0a

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

Loading…
Cancel
Save