WH01243 1 rok temu
rodzic
commit
cbfeca28b0
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      core/router/manager.go

+ 0 - 1
core/router/manager.go

@@ -88,7 +88,6 @@ func (m *Manager) InfusionContext(r *ghttp.Request) (err error) {
 	var GCtx = &GContext{
 		RouterRule: &Router{},
 	}
-	r.URL.Path = fmt.Sprintf("%s/", r.URL.Path)
 	router, err = m.GetRouterRule(r.URL.Path)
 	if err != nil {
 		r.SetCtxVar(GContextKey, GCtx)