diff --git a/turnpike/controllers/admin.go b/turnpike/controllers/admin.go index c33ab6bcb..c644beef6 100644 --- a/turnpike/controllers/admin.go +++ b/turnpike/controllers/admin.go @@ -9,7 +9,6 @@ import ( "fmt" "io" "net/http" - "net/url" "regexp" "strconv" "time" @@ -294,7 +293,8 @@ func GetManagerPprof(c *gin.Context) { func pprofHandler(c *gin.Context, address string) { query := c.Request.URL.RawQuery param := c.Param("param") - data, err := getPprof(address, url.QueryEscape(param), query) + // data, err := getPprof(address, url.QueryEscape(param), query) + data, err := getPprof(address, "", query) if err != nil { c.JSON(http.StatusInternalServerError, gin.H{"err": err.Error()}) return