don't look for @ in url, it's not a handle
This commit is contained in:
parent
77b8cd8950
commit
da296a8a0a
3
web.go
3
web.go
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue