allow # in combo name
Ted Unangst tedu@tedunangst.com
Sun, 03 Mar 2024 17:49:09 -0500
2 files changed,
2 insertions(+),
2 deletions(-)
M
views/header.html
→
views/header.html
@@ -26,7 +26,7 @@ <details>
<summary>combos</summary> <ul> {{ range .Combos }} -<li><a class="combolink" href="/c/{{ . }}">{{ . }}</a> +<li><a class="combolink" href="/c/{{ urlquery . }}">{{ . }}</a> {{ end }} </ul> </details>
M
web.go
→
web.go
@@ -3003,7 +3003,7 @@ loggedin.Handle("/ximport", login.CSRFWrap("ximport", http.HandlerFunc(ximport)))
loggedin.HandleFunc("/honkers", showhonkers) loggedin.HandleFunc("/h/{name:[\\pL[:digit:]_.-]+}", showhonker) loggedin.HandleFunc("/h", showhonker) - loggedin.HandleFunc("/c/{name:[\\pL[:digit:]_.-]+}", showcombo) + loggedin.HandleFunc("/c/{name:[\\pL[:digit:]#_.-]+}", showcombo) loggedin.HandleFunc("/c", showcombos) loggedin.HandleFunc("/t", showconvoy) loggedin.HandleFunc("/q", showsearch)