diff --git a/server/error.go b/server/error.go
index 270225a32473392bb4c1a932423a4c3ade058c6c..8509b3d3f131b78084ae38f9f22ee485f10e5fd8 100644 (file)
--- a/server/error.go
+++ b/server/error.go
)
func (s *Server) notfound(w http.ResponseWriter, r *http.Request) {
- s.err(w, http.StatusNotFound, fmt.Errorf("%s not found", r.RequestURI))
+ s.err(w, http.StatusNotFound, fmt.Errorf("%s not found", r.URL.Path))
}
func (s *Server) badrequest(w http.ResponseWriter, err error) {