Browse Source

Use URL.Path in logs to avoid leaking query params

pull/8014/head
Chris Lu 7 hours ago
parent
commit
e0028303b1
  1. 2
      weed/server/filer_server_handlers.go

2
weed/server/filer_server_handlers.go

@ -147,7 +147,7 @@ func (fs *FilerServer) readonlyFilerHandler(w http.ResponseWriter, r *http.Reque
statusRecorder := stats.NewStatusResponseWriter(w)
w = statusRecorder
glog.V(4).Infof("Request: %s %s", r.Method, r.URL.String())
glog.V(4).Infof("Request: %s %s", r.Method, r.URL.Path)
origin := r.Header.Get("Origin")
if origin != "" {

Loading…
Cancel
Save