73fe25b8c6733dbbafe88e8ccb43d6e99bcb1f58 — Philip K 2 years ago 81e5c24
Fixed redirection after commenting
1 files changed, 1 insertions(+), 1 deletions(-)

M genpost.go
M genpost.go => genpost.go +1 -1
@@ 48,7 48,7 @@
 			return
 		}
 
-		http.Redirect(rw, req, fmt.Sprintf("./post?id=%d#%d", pid, nid), http.StatusFound)
+		http.Redirect(rw, req, fmt.Sprintf("./post?id=%x#%d", pid, nid), http.StatusFound)
 	} else {
 		link, err := queryLink(pid)
 		if err != nil {