allow _ in names too
This commit is contained in:
parent
f472979b2d
commit
80f8f9b935
2
honk.go
2
honk.go
|
@ -1183,7 +1183,7 @@ func serve() {
|
||||||
getters.HandleFunc("/u/{name:[[:alnum:]]+}/outbox", outbox)
|
getters.HandleFunc("/u/{name:[[:alnum:]]+}/outbox", outbox)
|
||||||
getters.HandleFunc("/a", avatate)
|
getters.HandleFunc("/a", avatate)
|
||||||
getters.HandleFunc("/d/{xid:[[:alnum:].]+}", servefile)
|
getters.HandleFunc("/d/{xid:[[:alnum:].]+}", servefile)
|
||||||
getters.HandleFunc("/emu/{xid:[[:alnum:].]+}", serveemu)
|
getters.HandleFunc("/emu/{xid:[[:alnum:]_.]+}", serveemu)
|
||||||
getters.HandleFunc("/h/{name:[[:alnum:]]+}", viewhonker)
|
getters.HandleFunc("/h/{name:[[:alnum:]]+}", viewhonker)
|
||||||
getters.HandleFunc("/.well-known/webfinger", fingerlicker)
|
getters.HandleFunc("/.well-known/webfinger", fingerlicker)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue