more flexibility in naming
Ted Unangst tedu@tedunangst.com
Wed, 18 Sep 2019 18:30:04 -0400
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
web.go
→
web.go
@@ -1505,9 +1505,9 @@ loggedin.Handle("/zonkzonk", login.CSRFWrap("zonkzonk", http.HandlerFunc(zonkzonk)))
loggedin.Handle("/saveuser", login.CSRFWrap("saveuser", http.HandlerFunc(saveuser))) loggedin.Handle("/ximport", login.CSRFWrap("ximport", http.HandlerFunc(ximport))) loggedin.HandleFunc("/honkers", showhonkers) - loggedin.HandleFunc("/h/{name:[[:alnum:]]+}", showhonker) + loggedin.HandleFunc("/h/{name:[[:alnum:]_.-]+}", showhonker) loggedin.HandleFunc("/h", showhonker) - loggedin.HandleFunc("/c/{name:[[:alnum:]]+}", showcombo) + loggedin.HandleFunc("/c/{name:[[:alnum:]_.-]+}", showcombo) loggedin.HandleFunc("/c", showcombos) loggedin.HandleFunc("/t", showconvoy) loggedin.HandleFunc("/q", showsearch)